QueryResultList (Google App Engine API for Java)

com.google.appengine.api.datastore

Interface QueryResultList<T>

  • Type Parameters:
    T - the type of result returned by the query
    All Superinterfaces:
    java.util.Collection<T>, java.lang.Iterable<T>, java.util.List<T>


    public interface QueryResultList<T>
    extends java.util.List<T>
    A list of results returned by executing a Query.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      Cursor getCursor()
      Gets a Cursor that points to the result immediately after the last one in this list.
      java.util.List<Index> getIndexList()
      Get the indexes used to perform the query.
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream
      • Methods inherited from interface java.lang.Iterable

        forEach
    • 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 result immediately after the last one in this list.
        Returns:
        a Cursor or null if this query result cannot be resumed. (Note that a Cursor is returned even if the end of the result list has been reached).

Send feedback about...

App Engine standard environment for Java