public interface IndexSchemaObjectNodeBuilder extends IndexSchemaContext
Modifier and Type | Method and Description |
---|---|
IndexSchemaFieldContext |
addField(String relativeFieldName)
Create a new field and add it to the current builder.
|
IndexSchemaObjectFieldNodeBuilder |
addObjectField(String relativeFieldName,
ObjectFieldStorage storage)
Create a new object field and add it to the current builder.
|
IndexSchemaFieldContext |
createExcludedField(String relativeFieldName)
Create a new field, but do not add it to the current builder.
|
IndexSchemaObjectFieldNodeBuilder |
createExcludedObjectField(String relativeFieldName,
ObjectFieldStorage storage)
Create a new object field, but do not add it to the current builder.
|
getEventContext
IndexSchemaFieldContext addField(String relativeFieldName)
relativeFieldName
- The relative name of the new fieldIndexSchemaFieldContext createExcludedField(String relativeFieldName)
This means in particular the field will not be added to the schema, and its accessor will not have any effect on documents.
relativeFieldName
- The relative name of the new fieldIndexSchemaObjectFieldNodeBuilder addObjectField(String relativeFieldName, ObjectFieldStorage storage)
relativeFieldName
- The relative name of the new object fieldstorage
- The storage type of the new object fieldIndexSchemaObjectFieldNodeBuilder createExcludedObjectField(String relativeFieldName, ObjectFieldStorage storage)
This means in particular the field will not be added to the schema, and its accessor will not have any effect on documents.
relativeFieldName
- The relative name of the new object fieldstorage
- The storage type of the new object fieldCopyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.