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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Collection<F>
staticChildren()
Get all statically-defined, direct child fields for this element.Map<String,F>
staticChildrenByName()
Get all statically-defined, direct child fields for this element, mapped by theirrelative name
.NT
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, multiValuedInRoot, 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, isComposite, isValueField, nestedDocumentPath, nestedPathHierarchy, queryElement, relativeEventContext
-
-
-
-
Method Detail
-
type
NT type()
- Specified by:
type
in interfaceSearchIndexCompositeNodeContext<SC extends SearchIndexScope<?>>
-
staticChildren
default Collection<F> 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
Map<String,F> 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.
-
-