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(MappableTypeModel parentTypeModel,
String relativePrefix,
ObjectFieldStorage storage,
Integer maxDepth,
Set<String> includePaths) |
IndexSchemaElement |
getSchemaElement() |
IndexSchemaElement |
getSchemaElement(IndexSchemaContributionListener listener) |
IndexFieldTypeFactoryContext |
getTypeFactory() |
IndexFieldTypeFactoryContext getTypeFactory()
IndexSchemaElement getSchemaElement()
IndexSchemaElement getSchemaElement(IndexSchemaContributionListener listener)
listener - A listener to notify when operations are executed on the returned schema element.Optional<IndexedEmbeddedBindingContext> addIndexedEmbeddedIfIncluded(MappableTypeModel parentTypeModel, String relativePrefix, ObjectFieldStorage storage, Integer maxDepth, Set<String> includePaths)
parentTypeModel - The model representing the type holding the property with an indexed-embedded.relativePrefix - The prefix to apply to all index fields created in the context of the indexed-embedded.storage - The storage type to use for all object fields created as part of the relativePrefix.maxDepth - The maximum depth beyond which all created fields will be ignored. null for no limit.includePaths - The exhaustive list of paths of fields that are to be included. null for no limit.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.