|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.search.IndexChecker
public class IndexChecker
Checks values of Indexes.
| Field Summary | |
|---|---|
static int |
MAXIMUM_DOCS_PER_REQUEST
The maximum number of documents allowed per index and delete request. |
static int |
MAXIMUM_INDEX_NAME_LENGTH
The maximum length for an index name. |
| Constructor Summary | |
|---|---|
IndexChecker()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
checkName(java.lang.String indexName)
Checks whether an index name is valid. |
static IndexSpec |
checkValid(IndexSpec spec)
Checks that an IndexSpec is valid. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAXIMUM_INDEX_NAME_LENGTH
public static final int MAXIMUM_DOCS_PER_REQUEST
| Constructor Detail |
|---|
public IndexChecker()
| Method Detail |
|---|
public static java.lang.String checkName(java.lang.String indexName)
indexName - the index name to check
java.lang.IllegalArgumentException - if the index name is not an ASCII
visible printable string between 1 and
#MAXIMUM_INDEX_NAME_LENGTH in length, or starts with
'!'public static IndexSpec checkValid(IndexSpec spec)
IndexSpec is valid.
spec - the IndexSpec to check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||