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.NTtype()-
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:
typein interfaceSearchIndexCompositeNodeContext<SC extends SearchIndexScope<?>>
-
staticChildren
default Collection<F> staticChildren()
Description copied from interface:IndexCompositeElementDescriptorGet all statically-defined, direct child fields for this element.Only statically-defined fields are returned; fields created dynamically through
templatesare not included in the collection.- Specified by:
staticChildrenin interfaceIndexCompositeElementDescriptor- Returns:
- A collection containing all static child fields.
-
staticChildrenByName
Map<String,F> staticChildrenByName()
Description copied from interface:IndexCompositeElementDescriptorGet all statically-defined, direct child fields for this element, mapped by theirrelative name.Only statically-defined fields are returned; fields created dynamically through
templatesare not included in the map.- Specified by:
staticChildrenByNamein interfaceIndexCompositeElementDescriptor- Specified by:
staticChildrenByNamein interfaceSearchIndexCompositeNodeContext<SC extends SearchIndexScope<?>>- Returns:
- A map containing all static child fields.
-
-