Interface QueryResultIterator<T> (2.0.0)

public interface QueryResultIterator<T> extends Iterator<T>

A class that iterates through the results of a Query

Implements

Iterator<T>

Type Parameter

Name Description
T

Methods

getCursor()

public abstract Cursor getCursor()

Gets a Cursor that points to the Entity immediately after the last Entity that was retrieved by #next().

Returns
Type Description
Cursor

a Cursor or null if this query result cannot be resumed. (Note that a Cursor is returned even if the last element has been reached).

getIndexList()

public abstract List<Index> getIndexList()

Get the indexes used to perform the query.

Returns
Type Description
List<Index>

A list of index references, with no duplicates, or null if the indexes are not known.