Interface QueryResultIterator<T>
- Type Parameters:
T
- the type of result returned by the query
- All Superinterfaces:
Iterator<T>
A class that iterates through the results of a
Query
-
Method Summary
Modifier and TypeMethodDescriptionGets aCursor
that points to theEntity
immediately after the lastEntity
that was retrieved byIterator.next()
.Get the indexes used to perform the query.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
getIndexList
Get the indexes used to perform the query.- Returns:
- A list of index references, with no duplicates, or
null
if the indexes are not known.
-
getCursor
Cursor getCursor()Gets aCursor
that points to theEntity
immediately after the lastEntity
that was retrieved byIterator.next()
.- Returns:
- a
Cursor
ornull
if this query result cannot be resumed. (Note that a Cursor is returned even if the last element has been reached).
-