|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.search.SearchResponse
Results.
@Deprecated public final class SearchResponse
Represents a result of executing a Query. The response
contains an OperationResult, a collection of
SearchResults, count of Documents
matched and a count of Documents returned.
| Method Summary | |
|---|---|
java.lang.String |
getCursor()
Deprecated. A cursor to be used to continue the search after all the results in this search response. |
long |
getMatchedCount()
Deprecated. |
OperationResult |
getOperationResult()
Deprecated. |
java.util.Collection<SearchResult> |
getResults()
Deprecated. |
int |
getReturnedCount()
Deprecated. |
java.util.Iterator<SearchResult> |
iterator()
Deprecated. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.util.Iterator<SearchResult> iterator()
iterator in interface java.lang.Iterable<SearchResult>public OperationResult getOperationResult()
public long getMatchedCount()
QueryOptions#getMatchedCountAccuracy(), then it is accurate,
otherwise it is an approximationpublic int getReturnedCount()
public java.util.Collection<SearchResult> getResults()
public java.lang.String getCursor()
QueryOptions.Builder#setCursorType to set the value to
QueryOptions.CursorType#RESPONSE_CURSOR, otherwise
getCursor() will return null.
nullpublic 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 | ||||||||