@NotThreadSafe protected abstract static class JcrQueryResult.QueryResultIterator extends Object implements RangeIterator
NodeIterator
implementation returned by the JcrQueryResult
.JcrQueryResult.getNodes()
Modifier and Type | Field and Description |
---|---|
protected JcrQueryContext |
context |
Modifier | Constructor and Description |
---|---|
protected |
QueryResultIterator(JcrQueryContext context,
NodeSequence sequence) |
Modifier and Type | Method and Description |
---|---|
protected NodeSequence.Batch |
findNextBatch() |
long |
getPosition() |
long |
getSize() |
boolean |
hasNext() |
protected NodeSequence.Batch |
moveToNextRow() |
void |
skip(long skipNum) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, next, remove
protected final JcrQueryContext context
protected QueryResultIterator(JcrQueryContext context, NodeSequence sequence)
protected final NodeSequence.Batch moveToNextRow()
protected NodeSequence.Batch findNextBatch()
public long getPosition()
getPosition
in interface RangeIterator
public void skip(long skipNum)
skip
in interface RangeIterator
public final long getSize()
getSize
in interface RangeIterator
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.