Package com.google.appengine.api.search
Class GetIndexesRequest
- java.lang.Object
-
- com.google.appengine.api.search.GetIndexesRequest
-
public final class GetIndexesRequest extends Object
A request to get a range of indexes. You can specify a number of restrictions, such as the number of indexes to return, the prefix with which names of the returned indexes must begin, etc. A namespace may be specified, otherwise the default namespace will be used. Only the indexes defined in the namespace, default or otherwise, will be returned.GetIndexesRequest request = GetIndexesRequest.newBuilder() .setIndexNamePrefix("a") .setOffset(100) .setLimit(10) .build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetIndexesRequest.BuilderThe builder ofGetIndexesRequests.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetIndexNamePrefix()IntegergetLimit()StringgetNamespace()IntegergetOffset()StringgetStartIndexName()inthashCode()BooleanisAllNamespaces()booleanisIncludeStartIndex()BooleanisSchemaFetched()static GetIndexesRequest.BuildernewBuilder()static GetIndexesRequest.BuildernewBuilder(GetIndexesRequest request)StringtoString()
-
-
-
Method Detail
-
newBuilder
public static final GetIndexesRequest.Builder newBuilder()
-
newBuilder
public static final GetIndexesRequest.Builder newBuilder(GetIndexesRequest request)
-
getOffset
public Integer getOffset()
- Returns:
- the offset of the first returned index
-
getIndexNamePrefix
public String getIndexNamePrefix()
- Returns:
- the prefix matching names of all returned indexes
-
isIncludeStartIndex
public boolean isIncludeStartIndex()
- Returns:
- whether or not the index with the start index name is returned
-
getStartIndexName
public String getStartIndexName()
- Returns:
- the name of the first index to be returned
-
getLimit
public Integer getLimit()
- Returns:
- the maximum number of indexes returned by this request
-
isSchemaFetched
public Boolean isSchemaFetched()
- Returns:
- whether or not index schema is returned with each index
-
getNamespace
public String getNamespace()
- Returns:
- the namespace for this request, or null for the default namespace.
-
isAllNamespaces
public Boolean isAllNamespaces()
- Returns:
- whether or not to return indexes across all namespaces
-
-