|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.appengine.api.search.Results<T>
T
- The type of search result.public final class Results<T>
Represents a result of executing a search.
The Results include an OperationResult
, a collection of
results, and a number of found and returned results.
Method Summary | |
---|---|
Cursor |
getCursor()
A cursor to be used to continue the search after all the results in this search response. |
long |
getNumberFound()
The number of results found by the search. |
int |
getNumberReturned()
|
OperationResult |
getOperationResult()
|
java.util.Collection<T> |
getResults()
|
java.util.Iterator<T> |
iterator()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
public OperationResult getOperationResult()
public long getNumberFound()
QueryOptions.getNumberFoundAccuracy()
,
then it is accurate, otherwise it is an approximation
public int getNumberReturned()
public java.util.Collection<T> getResults()
public Cursor getCursor()
QueryOptions.Builder.setCursor(com.google.appengine.api.search.Cursor)
with a value of
Cursor.newBuilder().build()
, otherwise getCursor()
will return null.
null
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |