Interface SearchIndexNodeContext<SC extends SearchIndexScope<?>>
- Type Parameters:
SC- The type of the backend-specific search scope.
- All Superinterfaces:
org.hibernate.search.util.common.reporting.spi.EventContextProvider
- All Known Subinterfaces:
IndexCompositeNode<SC,,NT, F> IndexField<SC,,C> IndexNode<SC>,IndexObjectField<SC,,NT, C, F> IndexValueField<SC,,NT, C> SearchIndexCompositeNodeContext<SC>,SearchIndexValueFieldContext<SC>
- All Known Implementing Classes:
AbstractIndexField,AbstractIndexNode,AbstractIndexObjectField,AbstractIndexRoot,AbstractIndexValueField,AbstractMultiIndexSearchIndexCompositeNodeContext,AbstractMultiIndexSearchIndexNodeContext,AbstractMultiIndexSearchIndexValueFieldContext
public interface SearchIndexNodeContext<SC extends SearchIndexScope<?>>
extends org.hibernate.search.util.common.reporting.spi.EventContextProvider
Information about an index node targeted by search,
be it the index root, a value field or an object field.
This is used in predicates, projections, sorts, ...
-
Method Summary
Modifier and TypeMethodDescriptionString[]org.hibernate.search.util.common.SearchExceptioncannotUseQueryElement(SearchQueryElementTypeKey<?> key, String hint, Exception causeOrNull) booleanbooleanbooleanbooleanbooleandefault String<T> TqueryElement(SearchQueryElementTypeKey<T> key, SC searchContext) org.hibernate.search.util.common.reporting.EventContextMethods inherited from interface org.hibernate.search.util.common.reporting.spi.EventContextProvider
eventContext
-
Method Details
-
relativeEventContext
org.hibernate.search.util.common.reporting.EventContext relativeEventContext() -
isComposite
boolean isComposite() -
isObjectField
boolean isObjectField() -
isValueField
boolean isValueField() -
toComposite
SearchIndexCompositeNodeContext<SC> toComposite() -
toObjectField
SearchIndexCompositeNodeContext<SC> toObjectField() -
toValueField
SearchIndexValueFieldContext<SC> toValueField() -
absolutePath
String absolutePath() -
absolutePathComponents
String[] absolutePathComponents() -
nestedPathHierarchy
-
nestedDocumentPath
-
closestMultiValuedParentAbsolutePath
String closestMultiValuedParentAbsolutePath() -
multiValued
boolean multiValued() -
multiValuedInRoot
boolean multiValuedInRoot() -
queryElement
-
cannotUseQueryElement
org.hibernate.search.util.common.SearchException cannotUseQueryElement(SearchQueryElementTypeKey<?> key, String hint, Exception causeOrNull)
-