1 // Copyright 2009 Google Inc. All Rights Reserved.
2 package com
.google
.appengine
.api
.datastore
;
7 * A list of results returned by executing a {@link Query}.
9 * @param <T> the type of result returned by the query
12 public interface QueryResultList
<T
> extends List
<T
> {
14 * Get the indexes used to perform the query.
16 * @return A list of index references, with no duplicates, or {@code null} if
17 * the indexes are not known.
19 List
<Index
> getIndexList();
22 * Gets a {@link Cursor} that points to the result immediately after
23 * the last one in this list.
25 * @return a {@link Cursor} or {@code null} if this query result cannot be resumed. (Note that
26 * a Cursor is returned even if the end of the result list has been reached).