|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.search.GetRequest.Builder
public static class GetRequest.Builder
The builder of GetRequests.
| Method Summary | |
|---|---|
GetRequest |
build()
|
GetRequest.Builder |
setIncludeStart(boolean includeStart)
Sets whether or not to include the object whose ID is specified via the setStartId(String) method. |
GetRequest.Builder |
setLimit(java.lang.Integer limit)
Sets the maximum number of objects to return. |
GetRequest.Builder |
setReturningIdsOnly(boolean returningIdsOnly)
Sets whether just objects containing just their key are returned, or whether the complete objects are returned. |
GetRequest.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 GetRequest.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 GetRequest.Builder setIncludeStart(boolean includeStart)
setStartId(String) method.
includeStart - whether or not to return the start index
public GetRequest.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 GetRequest.Builder setReturningIdsOnly(boolean returningIdsOnly)
returningIdsOnly - whether to only return object keys
public GetRequest build()
GetRequest using values set on this builder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||