|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.search.Schema.Builder
public static final class Schema.Builder
A builder which constructs Schema objects.
| Method Summary | |
|---|---|
Schema.Builder |
addTypedField(java.lang.String fieldName,
Field.FieldType fieldType)
Adds typed field name to the schema builder. |
Schema |
build()
Builds a valid document. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Schema.Builder addTypedField(java.lang.String fieldName,
Field.FieldType fieldType)
fieldName - the field name to add to the schema
public Schema build()
java.lang.IllegalArgumentException - if the document built is not valid
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||