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
eventContextMethods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexCompositeElementDescriptor
isObjectField, isRoot, toObjectFieldMethods inherited from interface org.hibernate.search.engine.backend.document.model.spi.IndexNode
inclusion, toComposite, toObjectField, toValueFieldMethods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexCompositeNodeContext
absolutePathMethods 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:
typein interfaceSearchIndexCompositeNodeContext<SC extends SearchIndexScope<?>>
-
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
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.
-