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> org.hibernate.search.util.common.reporting.spi.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[]org.hibernate.search.util.common.SearchExceptioncannotUseQueryElement(SearchQueryElementTypeKey<?> key, String hint, Exception causeOrNull) final org.hibernate.search.util.common.reporting.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 org.hibernate.search.util.common.reporting.EventContextbooleanfinal booleanfinal <T> TqueryElement(SearchQueryElementTypeKey<T> key, SC scope) final <T> SearchQueryElementFactory<? extends T, ? super SC, ? super S> final org.hibernate.search.util.common.reporting.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
public final org.hibernate.search.util.common.reporting.EventContext eventContext()- Specified by:
eventContextin interfaceorg.hibernate.search.util.common.reporting.spi.EventContextProvider
-
indexesEventContext
protected final org.hibernate.search.util.common.reporting.EventContext indexesEventContext() -
relativeEventContext
public final org.hibernate.search.util.common.reporting.EventContext relativeEventContext()- Specified by:
relativeEventContextin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
queryElement
- Specified by:
queryElementin interfaceSearchIndexNodeContext<S extends SearchIndexNodeContext<SC>>
-
cannotUseQueryElement
public org.hibernate.search.util.common.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)
-