Class ForwardQueryResult.QueryResultIterator
java.lang.Object
org.datanucleus.store.query.AbstractQueryResultIterator<E>
org.datanucleus.store.rdbms.query.ForwardQueryResult.QueryResultIterator
- All Implemented Interfaces:
Iterator<E>, ListIterator<E>
- Enclosing class:
ForwardQueryResult<E>
private class ForwardQueryResult.QueryResultIterator
extends org.datanucleus.store.query.AbstractQueryResultIterator<E>
An Iterator results of a pm.query.execute().iterator()
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.datanucleus.store.query.AbstractQueryResultIterator
add, remove, setMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
nextRowNum
private int nextRowNum -
currentElement
E currentElementhold the last element
-
-
Constructor Details
-
QueryResultIterator
private QueryResultIterator()
-
-
Method Details
-
hasNext
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<E>- Specified by:
hasPreviousin classorg.datanucleus.store.query.AbstractQueryResultIterator<E>
-
next
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<E>- Specified by:
nextIndexin classorg.datanucleus.store.query.AbstractQueryResultIterator<E>
-
previous
- Specified by:
previousin interfaceListIterator<E>- Specified by:
previousin classorg.datanucleus.store.query.AbstractQueryResultIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<E>- Specified by:
previousIndexin classorg.datanucleus.store.query.AbstractQueryResultIterator<E>
-