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 aCursorthat points to theEntityimmediately after the lastEntitythat 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
nullif the indexes are not known.
-
getCursor
Cursor getCursor()Gets aCursorthat points to theEntityimmediately after the lastEntitythat was retrieved byIterator.next().- Returns:
- a
Cursorornullif this query result cannot be resumed. (Note that a Cursor is returned even if the last element has been reached).
-