public final class AtomIter extends Iter
Constructor and Description |
---|
AtomIter(Iter iter,
QueryContext qc,
InputInfo info,
boolean array)
Constructor.
|
public AtomIter(Iter iter, QueryContext qc, InputInfo info, boolean array)
iter
- input iteratorqc
- query contextinfo
- input infoarray
- may be arraypublic Item next() throws QueryException
Iter
null
if no other items are found.next
in class Iter
null
QueryException
- query exceptionpublic long size()
Iter
-1
is returned if the
result size is unknown. If this method is implemented by an iterator,
Iter.get(long)
needs to be implemented as well.public Item get(long i) throws QueryException
Iter
Iter.size()
returns the correct number of results.get
in class Iter
i
- value offsetQueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.