QueryResultIterator (Google App Engine API for Java)

com.google.appengine.api.datastore

Interface QueryResultIterator<T>

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


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

      • getIndexList

        java.util.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).

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java