Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

QueryResultList (Google App Engine API for Java)

Stay organized with collections Save and categorize content based on your preferences.
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).