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
eventContextMethods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexFieldDescriptor
absolutePath, isObjectField, isValueField, multiValued, multiValuedInRoot, relativeName, typeMethods inherited from interface org.hibernate.search.engine.backend.document.model.spi.IndexNode
inclusionMethods 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:
toCompositein interfaceIndexNode<SC extends SearchIndexScope<?>>- Specified by:
toCompositein interfaceSearchIndexNodeContext<SC extends SearchIndexScope<?>>
-
toObjectField
IndexObjectField<SC,?, toObjectField()C, ?> - Specified by:
toObjectFieldin interfaceIndexFieldDescriptor- Specified by:
toObjectFieldin interfaceIndexNode<SC extends SearchIndexScope<?>>- Specified by:
toObjectFieldin interfaceSearchIndexNodeContext<SC extends SearchIndexScope<?>>- Returns:
- This field as an
IndexObjectFieldDescriptor, if possible. Nevernull.
-
toValueField
IndexValueField<SC,?, toValueField()C> - Specified by:
toValueFieldin interfaceIndexFieldDescriptor- Specified by:
toValueFieldin interfaceIndexNode<SC extends SearchIndexScope<?>>- Specified by:
toValueFieldin interfaceSearchIndexNodeContext<SC extends SearchIndexScope<?>>- Returns:
- This field as an
IndexValueFieldDescriptor, if possible. Nevernull.
-
parent
C parent()- Specified by:
parentin interfaceIndexFieldDescriptor- Returns:
- The parent of this field, either the
index rootor anobject field.
-