Interface IndexCompositeNode<SC extends SearchIndexScope<?>,NT extends AbstractIndexCompositeNodeType<SC,?>,F extends IndexField<SC,?>>
- All Superinterfaces:
EventContextProvider
,IndexCompositeElementDescriptor
,IndexNode<SC>
,SearchIndexCompositeNodeContext<SC>
,SearchIndexNodeContext<SC>
- All Known Subinterfaces:
IndexObjectField<SC,
NT, C, F>
- All Known Implementing Classes:
AbstractIndexObjectField
,AbstractIndexRoot
public interface IndexCompositeNode<SC extends SearchIndexScope<?>,NT extends AbstractIndexCompositeNodeType<SC,?>,F extends IndexField<SC,?>>
extends IndexNode<SC>, IndexCompositeElementDescriptor, SearchIndexCompositeNodeContext<SC>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<F>
Get all statically-defined, direct child fields for this element.Get all statically-defined, direct child fields for this element, mapped by theirrelative name
.type()
Methods inherited from interface org.hibernate.search.util.common.reporting.spi.EventContextProvider
eventContext
Methods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexCompositeElementDescriptor
isObjectField, isRoot, toObjectField
Methods inherited from interface org.hibernate.search.engine.backend.document.model.spi.IndexNode
inclusion, toComposite, toObjectField, toValueField
Methods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexCompositeNodeContext
absolutePath
Methods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexNodeContext
absolutePath, absolutePathComponents, cannotUseQueryElement, closestMultiValuedParentAbsolutePath, isComposite, isObjectField, isValueField, multiValued, multiValuedInRoot, nestedDocumentPath, nestedPathHierarchy, queryElement, relativeEventContext
-
Method Details
-
type
NT type()- Specified by:
type
in interfaceSearchIndexCompositeNodeContext<SC extends SearchIndexScope<?>>
-
staticChildren
Description copied from interface:IndexCompositeElementDescriptor
Get all statically-defined, direct child fields for this element.Only statically-defined fields are returned; fields created dynamically through
templates
are not included in the collection.- Specified by:
staticChildren
in interfaceIndexCompositeElementDescriptor
- Returns:
- A collection containing all static child fields.
-
staticChildrenByName
Description copied from interface:IndexCompositeElementDescriptor
Get all statically-defined, direct child fields for this element, mapped by theirrelative name
.Only statically-defined fields are returned; fields created dynamically through
templates
are not included in the map.- Specified by:
staticChildrenByName
in interfaceIndexCompositeElementDescriptor
- Specified by:
staticChildrenByName
in interfaceSearchIndexCompositeNodeContext<SC extends SearchIndexScope<?>>
- Returns:
- A map containing all static child fields.
-