|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.search.IndexSpec.Builder
public static final class IndexSpec.Builder
A builder of IndexSpec.
| Method Summary | |
|---|---|
IndexSpec |
build()
Builds a valid IndexSpec. |
IndexSpec.Builder |
setConsistency(Consistency consistency)
Sets the consistency mode in which the index operates. |
IndexSpec.Builder |
setName(java.lang.String name)
Sets the unique name of the index. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public IndexSpec.Builder setName(java.lang.String name)
name - the name of the index
java.lang.IllegalArgumentException - if the index name length is not between 1
and IndexChecker#MAXIMUM_INDEX_NAME_LENGTHpublic IndexSpec.Builder setConsistency(Consistency consistency)
consistency - the consistency mode in which the index operatespublic IndexSpec build()
java.lang.IllegalArgumentException - if the IndexSpec built is not valid
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||