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 Stringfinal String[]cannotUseQueryElement(SearchQueryElementTypeKey<?> key, String hint, Exception causeOrNull) final EventContextprotected final <T> TfromNodeIfCompatible(Function<S, T> getter, BiPredicate<T, T> compatibilityChecker, String attributeName) protected final <T> TfromTypeIfCompatible(Function<NT, T> getter, BiPredicate<T, T> compatibilityChecker, String attributeName) protected final EventContextbooleanfinal booleanfinal <T> TqueryElement(SearchQueryElementTypeKey<T> key, SC scope) final <T> SearchQueryElementFactory<? extends T,? super SC, ? super S> final EventContextprotected abstract Sself()protected abstract NTprotected abstract NTMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
absolutePathin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
absolutePathComponents
- Specified by:
absolutePathComponentsin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
nestedPathHierarchy
- Specified by:
nestedPathHierarchyin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
nestedDocumentPath
- Specified by:
nestedDocumentPathin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
closestMultiValuedParentAbsolutePath
- Specified by:
closestMultiValuedParentAbsolutePathin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
multiValued
public boolean multiValued()- Specified by:
multiValuedin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
multiValuedInRoot
public final boolean multiValuedInRoot()- Specified by:
multiValuedInRootin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
eventContext
- Specified by:
eventContextin interfaceEventContextProvider
-
indexesEventContext
-
relativeEventContext
- Specified by:
relativeEventContextin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
queryElement
- Specified by:
queryElementin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
cannotUseQueryElement
public SearchException cannotUseQueryElement(SearchQueryElementTypeKey<?> key, String hint, Exception causeOrNull) - Specified by:
cannotUseQueryElementin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
queryElementFactory
public final <T> SearchQueryElementFactory<? extends T,? super SC, queryElementFactory? super S> (SearchQueryElementTypeKey<T> key) - Specified by:
queryElementFactoryin 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)
-