Interface QueryResultList<T>
- Type Parameters:
T
- the type of result returned by the query
- All Superinterfaces:
Collection<T>
,Iterable<T>
,List<T>
A list of results returned by executing a
Query
.-
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
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
-
Method Details
-
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 aCursor
that points to the result immediately after the last one in this list.- Returns:
- a
Cursor
ornull
if this query result cannot be resumed. (Note that a Cursor is returned even if the end of the result list has been reached).
-