Modifier and Type | Method and Description |
---|---|
<F> IndexSchemaFieldTerminalContext<IndexFieldAccessor<F>> |
IndexSchemaElement.field(String relativeFieldName,
Function<? super IndexFieldTypeFactoryContext,? extends IndexFieldTypeTerminalContext<F>> typeContributor)
Add a field to this index schema element with the type to be defined by the given function.
|
<F> IndexSchemaFieldTerminalContext<IndexFieldAccessor<F>> |
IndexSchemaElement.field(String relativeFieldName,
IndexFieldType<F> type)
Add a field to this index schema element with the given type.
|
default <F> IndexSchemaFieldTerminalContext<IndexFieldAccessor<F>> |
IndexSchemaElement.field(String relativeFieldName,
IndexFieldTypeTerminalContext<F> terminalContext)
Add a field to this index schema element with the given almost-built type.
|
Modifier and Type | Method and Description |
---|---|
<F> IndexSchemaFieldTerminalContext<IndexFieldAccessor<F>> |
IndexSchemaObjectNodeBuilder.addField(String relativeFieldName,
IndexFieldType<F> indexFieldType)
Create a new field and add it to the current builder.
|
<F> IndexSchemaFieldTerminalContext<IndexFieldAccessor<F>> |
IndexSchemaObjectNodeBuilder.createExcludedField(String relativeFieldName,
IndexFieldType<F> indexFieldType)
Create a new field, but do not add it to the current builder.
|
Modifier and Type | Method and Description |
---|---|
IndexFieldAccessor<F> |
IndexSchemaFieldDefinitionHelper.createAccessor() |
Modifier and Type | Method and Description |
---|---|
void |
IndexSchemaFieldDefinitionHelper.initialize(IndexFieldAccessor<F> delegate)
Initialize the field definition, enabling writes to an underlying field.
|
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.