public interface IndexSchemaObjectNodeBuilder extends IndexSchemaBuildContext
Modifier and Type | Method and Description |
---|---|
<F> IndexSchemaFieldTerminalContext<IndexFieldAccessor<F>> |
addField(String relativeFieldName,
IndexFieldType<F> indexFieldType)
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.
|
<F> IndexSchemaFieldTerminalContext<IndexFieldAccessor<F>> |
createExcludedField(String relativeFieldName,
IndexFieldType<F> indexFieldType)
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
<F> IndexSchemaFieldTerminalContext<IndexFieldAccessor<F>> addField(String relativeFieldName, IndexFieldType<F> indexFieldType)
F
- The type of the index field.relativeFieldName
- The relative name of the new field<F> IndexSchemaFieldTerminalContext<IndexFieldAccessor<F>> createExcludedField(String relativeFieldName, IndexFieldType<F> indexFieldType)
This means in particular the field will not be added to the schema, and its accessor will not have any effect on documents.
F
- The type of the index field.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-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.