public interface IndexBindingContext
The context includes in particular the corresponding node in the index schema tree.
Provides entry points to add fields to the index schema and to generate new contexts for indexed-embeddeds.
| Modifier and Type | Method and Description |
|---|---|
Optional<IndexedEmbeddedBindingContext> |
addIndexedEmbeddedIfIncluded(IndexedEmbeddedDefinition definition,
boolean multiValued) |
default IndexFieldTypeFactory |
createTypeFactory() |
IndexFieldTypeFactory |
createTypeFactory(IndexFieldTypeDefaultsProvider defaultsProvider)
Use this method to provide some defaults to the current request.
|
IndexSchemaElement |
getSchemaElement() |
IndexSchemaElement |
getSchemaElement(IndexSchemaContributionListener listener) |
default IndexFieldTypeFactory createTypeFactory()
IndexFieldTypeFactory createTypeFactory(IndexFieldTypeDefaultsProvider defaultsProvider)
IndexFieldTypeDefaultsProvider instance will be overridden by a subsequent request.defaultsProvider - The defaults to applyIndexSchemaElement getSchemaElement()
IndexSchemaElement getSchemaElement(IndexSchemaContributionListener listener)
listener - A listener to notify when operations are executed on the returned schema element.Optional<IndexedEmbeddedBindingContext> addIndexedEmbeddedIfIncluded(IndexedEmbeddedDefinition definition, boolean multiValued)
definition - The indexed-embedded definition.multiValued - Whether the property with an indexed-embedded is to be considered as multi-valued
(i.e. multiple indexed-embedded objects may be processed for a single "embedding" object).Optional.empty().Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.