|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.search.ListIndexesRequest.Builder
public static final class ListIndexesRequest.Builder
The builder of ListIndexesRequest
s.
Method Summary | |
---|---|
ListIndexesRequest |
build()
|
ListIndexesRequest.Builder |
setIncludeStartIndex(boolean includeStartIndex)
Sets whether or not to include the index whose name is specified via the setStartIndexName(String) method. |
ListIndexesRequest.Builder |
setIndexNamePrefix(java.lang.String indexNamePrefix)
Sets the prefix to be matched against the names of returned indexes. |
ListIndexesRequest.Builder |
setLimit(java.lang.Integer limit)
Sets the maximum number of indexes to return. |
ListIndexesRequest.Builder |
setOffset(java.lang.Integer offset)
Sets the offset of the first index to return. |
ListIndexesRequest.Builder |
setSchemaFetched(boolean schemaFetched)
Sets whether or not the schema is returned with indexes. |
ListIndexesRequest.Builder |
setStartIndexName(java.lang.String startIndexName)
Sets the name of the first index to return. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ListIndexesRequest.Builder setOffset(java.lang.Integer offset)
setStartIndexName(String)
method.
offset
- the offset of the first returned index
java.lang.IllegalArgumentException
- if negative or too large offset is givenpublic ListIndexesRequest.Builder setIndexNamePrefix(java.lang.String indexNamePrefix)
indexNamePrefix
- the prefix used to select returned indexes
java.lang.IllegalArgumentException
- if invalid index name is givenpublic ListIndexesRequest.Builder setIncludeStartIndex(boolean includeStartIndex)
setStartIndexName(String)
method.
includeStartIndex
- whether or not to return the start index
public ListIndexesRequest.Builder setStartIndexName(java.lang.String startIndexName)
setIncludeStartIndex(boolean)
method.
startIndexName
- the name of the first index to be returned
java.lang.IllegalArgumentException
- if invalid start index name is givenpublic ListIndexesRequest.Builder setLimit(java.lang.Integer limit)
limit
- the number of indexes to return
java.lang.IllegalArgumentException
- if negative or too large limit is givenpublic ListIndexesRequest.Builder setSchemaFetched(boolean schemaFetched)
schemaFetched
- whether or not schemas are present in returned indexes
public ListIndexesRequest build()
ListIndexesRequest
using values set on this builder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |