|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.search.ListRequest.Builder
public static final class ListRequest.Builder
The builder of ListRequests.
| Method Summary | |
|---|---|
ListRequest |
build()
|
ListRequest.Builder |
setIncludeStart(boolean includeStart)
Sets whether or not to include the object whose ID is specified via the setStartId(String) method. |
ListRequest.Builder |
setKeysOnly(boolean keysOnly)
Sets whether just objects containing just their key are returned, or whether the complete objects are returned. |
ListRequest.Builder |
setLimit(java.lang.Integer limit)
Sets the maximum number of objects to return. |
ListRequest.Builder |
setStartId(java.lang.String startId)
Sets the Id of the first object to return. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ListRequest.Builder setStartId(java.lang.String startId)
setIncludeStart(boolean) method.
startId - the Id of the first object to return
java.lang.IllegalArgumentException - if invalid object Id is givenpublic ListRequest.Builder setIncludeStart(boolean includeStart)
setStartId(String) method.
includeStart - whether or not to return the start index
public ListRequest.Builder setLimit(java.lang.Integer limit)
limit - the maximum number of objects to return
java.lang.IllegalArgumentException - if negative or too large limit is givenpublic ListRequest.Builder setKeysOnly(boolean keysOnly)
keysOnly - whether to only return object keys
public ListRequest build()
ListRequest using values set on this builder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||