public interface IndexSchemaObjectNodeBuilder extends IndexSchemaBuildContext
| Modifier and Type | Method and Description |
|---|---|
<F> IndexSchemaFieldOptionsStep<?,IndexFieldReference<F>> |
addField(String relativeFieldName,
IndexFieldInclusion inclusion,
IndexFieldType<F> indexFieldType)
Create a new field and add it to the current builder.
|
IndexSchemaFieldTemplateOptionsStep<?> |
addFieldTemplate(String templateName,
IndexFieldInclusion inclusion,
IndexFieldType<?> indexFieldType,
String prefix)
Create a new field template and add it to the current builder.
|
IndexSchemaObjectFieldNodeBuilder |
addObjectField(String relativeFieldName,
IndexFieldInclusion inclusion,
ObjectFieldStorage storage)
Create a new object field and add it to the current builder.
|
IndexSchemaFieldTemplateOptionsStep<?> |
addObjectFieldTemplate(String templateName,
ObjectFieldStorage storage,
String prefix,
IndexFieldInclusion inclusion)
Create a new object field template and add it to the current builder.
|
eventContext<F> IndexSchemaFieldOptionsStep<?,IndexFieldReference<F>> addField(String relativeFieldName, IndexFieldInclusion inclusion, IndexFieldType<F> indexFieldType)
F - The type of values for the new fieldrelativeFieldName - The relative name of the new fieldinclusion - Whether fields matching this template should be included, provided their parent is included.indexFieldType - The type of the new fieldIndexSchemaObjectFieldNodeBuilder addObjectField(String relativeFieldName, IndexFieldInclusion inclusion, ObjectFieldStorage storage)
relativeFieldName - The relative name of the new object fieldinclusion - Whether fields matching this template should be included, provided their parent is included.storage - The storage type of the new object fieldIndexSchemaFieldTemplateOptionsStep<?> addFieldTemplate(String templateName, IndexFieldInclusion inclusion, IndexFieldType<?> indexFieldType, String prefix)
templateName - The name of the new templateinclusion - Whether fields matching this template should be included, provided their parent is included.indexFieldType - The type of the new field templateprefix - A prefix to prepend to the glob pattern
and to field paths passed to DocumentElement.addValue(String, Object).IndexSchemaFieldTemplateOptionsStep<?> addObjectFieldTemplate(String templateName, ObjectFieldStorage storage, String prefix, IndexFieldInclusion inclusion)
templateName - The name of the new templatestorage - The storage type of the new object field templateprefix - A prefix to prepend to the glob pattern
and to field paths passed to DocumentElement.addObject(String).inclusion - Whether fields matching this template should be included, provided their parent is included.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.