Package org.basex.query.iter
Class DBNodeIter
- java.lang.Object
-
- org.basex.query.iter.Iter
-
- org.basex.query.iter.NodeIter
-
- org.basex.query.iter.BasicNodeIter
-
- org.basex.query.iter.DBNodeIter
-
public abstract class DBNodeIter extends BasicNodeIter
Database node iterator.- Author:
- BaseX Team 2005-24, BSD License, Christian Gruen
-
-
Field Summary
Fields Modifier and Type Field Description protected Data
data
Data reference.-
Fields inherited from class org.basex.query.iter.BasicNodeIter
EMPTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DBNodeIter(Data data)
Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DBNode
next()
Returns the next item.Value
value(QueryContext qc, Expr expr)
Returns a value with all iterated items.-
Methods inherited from class org.basex.query.iter.BasicNodeIter
iterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
data
protected final Data data
Data reference.
-
-
Constructor Detail
-
DBNodeIter
protected DBNodeIter(Data data)
Constructor.- Parameters:
data
- data reference
-
-
Method Detail
-
next
public abstract DBNode next()
Description copied from class:Iter
Returns the next item.- Specified by:
next
in classBasicNodeIter
- Returns:
- resulting item, or
null
if all items have been returned
-
value
public Value value(QueryContext qc, Expr expr)
Description copied from class:Iter
Returns a value with all iterated items. This method should always be called before single items have been requested. Otherwise, it might not return all items.
-
-