Class AbstractMultiIndexSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>,SC extends SearchIndexScope<?>,NT extends SearchIndexNodeTypeContext<SC,S>>
java.lang.Object
org.hibernate.search.engine.search.common.spi.AbstractMultiIndexSearchIndexNodeContext<S,SC,NT>
- All Implemented Interfaces:
SearchIndexNodeContext<SC>
,SearchIndexNodeTypeContext<SC,
,S> EventContextProvider
- Direct Known Subclasses:
AbstractMultiIndexSearchIndexCompositeNodeContext
,AbstractMultiIndexSearchIndexValueFieldContext
public abstract class AbstractMultiIndexSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>,SC extends SearchIndexScope<?>,NT extends SearchIndexNodeTypeContext<SC,S>>
extends Object
implements SearchIndexNodeContext<SC>, SearchIndexNodeTypeContext<SC,S>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal String
final String[]
cannotUseQueryElement
(SearchQueryElementTypeKey<?> key, String hint, Exception causeOrNull) final EventContext
protected final <T> T
fromNodeIfCompatible
(Function<S, T> getter, BiPredicate<T, T> compatibilityChecker, String attributeName) protected final <T> T
fromTypeIfCompatible
(Function<NT, T> getter, BiPredicate<T, T> compatibilityChecker, String attributeName) protected final EventContext
boolean
final boolean
final <T> T
queryElement
(SearchQueryElementTypeKey<T> key, SC scope) final <T> SearchQueryElementFactory<? extends T,
? super SC, ? super S> final EventContext
protected abstract S
self()
protected abstract NT
protected abstract NT
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexNodeContext
isComposite, isObjectField, isValueField, toComposite, toObjectField, toValueField
-
Field Details
-
scope
-
absolutePath
-
nodeForEachIndex
-
-
Method Details
-
self
-
selfAsNodeType
-
typeOf
-
absolutePath
- Specified by:
absolutePath
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
absolutePathComponents
- Specified by:
absolutePathComponents
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
nestedPathHierarchy
- Specified by:
nestedPathHierarchy
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
nestedDocumentPath
- Specified by:
nestedDocumentPath
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
closestMultiValuedParentAbsolutePath
- Specified by:
closestMultiValuedParentAbsolutePath
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
multiValued
public boolean multiValued()- Specified by:
multiValued
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
multiValuedInRoot
public final boolean multiValuedInRoot()- Specified by:
multiValuedInRoot
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
eventContext
- Specified by:
eventContext
in interfaceEventContextProvider
-
indexesEventContext
-
relativeEventContext
- Specified by:
relativeEventContext
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
queryElement
- Specified by:
queryElement
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
cannotUseQueryElement
public SearchException cannotUseQueryElement(SearchQueryElementTypeKey<?> key, String hint, Exception causeOrNull) - Specified by:
cannotUseQueryElement
in interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
queryElementFactory
public final <T> SearchQueryElementFactory<? extends T,? super SC, queryElementFactory? super S> (SearchQueryElementTypeKey<T> key) - Specified by:
queryElementFactory
in interfaceSearchIndexNodeTypeContext<S extends SearchIndexNodeContext<SC>,
SC extends SearchIndexScope<?>>
-
fromNodeIfCompatible
protected final <T> T fromNodeIfCompatible(Function<S, T> getter, BiPredicate<T, T> compatibilityChecker, String attributeName) -
fromTypeIfCompatible
protected final <T> T fromTypeIfCompatible(Function<NT, T> getter, BiPredicate<T, T> compatibilityChecker, String attributeName)
-