Interface IndexField<SC extends SearchIndexScope<?>,C extends IndexCompositeNode<SC,?,?>>
- All Superinterfaces:
EventContextProvider
,IndexFieldDescriptor
,IndexNode<SC>
,SearchIndexNodeContext<SC>
- All Known Subinterfaces:
IndexObjectField<SC,
,NT, C, F> IndexValueField<SC,
NT, C>
- All Known Implementing Classes:
AbstractIndexField
,AbstractIndexObjectField
,AbstractIndexValueField
public interface IndexField<SC extends SearchIndexScope<?>,C extends IndexCompositeNode<SC,?,?>>
extends IndexNode<SC>, IndexFieldDescriptor
-
Method Summary
Methods inherited from interface org.hibernate.search.util.common.reporting.spi.EventContextProvider
eventContext
Methods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexFieldDescriptor
absolutePath, isObjectField, isValueField, multiValued, multiValuedInRoot, relativeName, type
Methods inherited from interface org.hibernate.search.engine.backend.document.model.spi.IndexNode
inclusion
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
-
toComposite
C toComposite()- Specified by:
toComposite
in interfaceIndexNode<SC extends SearchIndexScope<?>>
- Specified by:
toComposite
in interfaceSearchIndexNodeContext<SC extends SearchIndexScope<?>>
-
toObjectField
IndexObjectField<SC,?, toObjectField()C, ?> - Specified by:
toObjectField
in interfaceIndexFieldDescriptor
- Specified by:
toObjectField
in interfaceIndexNode<SC extends SearchIndexScope<?>>
- Specified by:
toObjectField
in interfaceSearchIndexNodeContext<SC extends SearchIndexScope<?>>
- Returns:
- This field as an
IndexObjectFieldDescriptor
, if possible. Nevernull
.
-
toValueField
IndexValueField<SC,?, toValueField()C> - Specified by:
toValueField
in interfaceIndexFieldDescriptor
- Specified by:
toValueField
in interfaceIndexNode<SC extends SearchIndexScope<?>>
- Specified by:
toValueField
in interfaceSearchIndexNodeContext<SC extends SearchIndexScope<?>>
- Returns:
- This field as an
IndexValueFieldDescriptor
, if possible. Nevernull
.
-
parent
C parent()- Specified by:
parent
in interfaceIndexFieldDescriptor
- Returns:
- The parent of this field, either the
index root
or anobject field
.
-