Class ScrollableQueryResult.QueryResultIterator
java.lang.Object
org.datanucleus.store.query.AbstractQueryResultIterator<E>
org.datanucleus.store.rdbms.query.ScrollableQueryResult.QueryResultIterator
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
- Enclosing class:
ScrollableQueryResult<E>
private class ScrollableQueryResult.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, set
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
iterRowNum
private int iterRowNum
-
-
Constructor Details
-
QueryResultIterator
public QueryResultIterator()
-
-
Method Details
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<E>
- Specified by:
hasPrevious
in classorg.datanucleus.store.query.AbstractQueryResultIterator<E>
-
next
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<E>
- Specified by:
nextIndex
in classorg.datanucleus.store.query.AbstractQueryResultIterator<E>
-
previous
- Specified by:
previous
in interfaceListIterator<E>
- Specified by:
previous
in classorg.datanucleus.store.query.AbstractQueryResultIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<E>
- Specified by:
previousIndex
in classorg.datanucleus.store.query.AbstractQueryResultIterator<E>
-