|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.appengine.api.search.Cursor.Builder
public static final class Cursor.Builder
A builder which constructs Cursor objects.
Method Summary | |
---|---|
Cursor |
build()
Construct the final message. |
Cursor |
build(java.lang.String webSafeString)
Construct the final message. |
Cursor.Builder |
setPerResult(boolean perResult)
Sets whether or not to return a Cursor on each individual result in Results or a single cursor with all
Results. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Cursor.Builder setPerResult(boolean perResult)
Results
or a single cursor with all
Results.
perResult
- if True, then return a Cursor with each
ScoredDocument
result, otherwise return a single Cursor
with Results
public Cursor build(java.lang.String webSafeString)
webSafeString
- use a cursor returned from a
previous set of search results as a starting point to retrieve
the next set of results. This can get you better performance, and
also improves the consistency of pagination through index updates
java.lang.IllegalArgumentException
- if the cursor string is invalidpublic Cursor build()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |