QueryResultList (Google App Engine API for Java)
Stay organized with collections
Save and categorize content based on your preferences.
-
- 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
-
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
-
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).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["`QueryResultList` is an interface that represents a list of results obtained from executing a `Query`."],["It extends `java.util.List`, inheriting all standard list operations, and is also a `java.util.Collection` and `java.lang.Iterable`."],["The `getCursor()` method returns a `Cursor` object that marks the position immediately following the last item in the current result list."],["The `getIndexList()` method provides a list of indexes used for the query, which can be `null` if the indexes are unknown."]]],[]]