Interface QueryResultIterator<T>

Type Parameters:
T - the type of result returned by the query
All Superinterfaces:
Iterator<T>

public interface QueryResultIterator<T> extends Iterator<T>
A class that iterates through the results of a Query
  • Method Details

    • getIndexList

      List<Index> 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 a Cursor that points to the Entity immediately after the last Entity that was retrieved by Iterator.next().
      Returns:
      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).