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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Cparent()CtoComposite()IndexObjectField<SC,?,C,?>toObjectField()IndexValueField<SC,?,C>toValueField()-
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
-
Methods inherited from interface org.hibernate.search.engine.backend.document.model.spi.IndexNode
inclusion, multiValuedInRoot
-
Methods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexNodeContext
absolutePath, absolutePathComponents, isComposite, isValueField, nestedDocumentPath, nestedPathHierarchy, queryElement, relativeEventContext
-
-
-
-
Method Detail
-
toComposite
C toComposite()
- Specified by:
toCompositein interfaceIndexNode<SC extends SearchIndexScope<?>>- Specified by:
toCompositein interfaceSearchIndexNodeContext<SC extends SearchIndexScope<?>>
-
toObjectField
IndexObjectField<SC,?,C,?> toObjectField()
- Specified by:
toObjectFieldin interfaceIndexFieldDescriptor- Specified by:
toObjectFieldin interfaceIndexNode<SC extends SearchIndexScope<?>>- Returns:
- This field as an
IndexObjectFieldDescriptor, if possible. Nevernull.
-
toValueField
IndexValueField<SC,?,C> toValueField()
- 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.
-
-