Interface SearchIndexNodeContext<SC extends SearchIndexScope<?>>
- Type Parameters:
SC
- The type of the backend-specific search scope.
- All Superinterfaces:
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 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[]
cannotUseQueryElement
(SearchQueryElementTypeKey<?> key, String hint, Exception causeOrNull) boolean
boolean
boolean
boolean
boolean
default String
<T> T
queryElement
(SearchQueryElementTypeKey<T> key, SC searchContext) Methods inherited from interface org.hibernate.search.util.common.reporting.spi.EventContextProvider
eventContext
-
Method Details
-
relativeEventContext
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
SearchException cannotUseQueryElement(SearchQueryElementTypeKey<?> key, String hint, Exception causeOrNull)
-