Class AbstractIndexNode<S extends AbstractIndexNode<S,SC,?>,SC extends SearchIndexScope<?>,NT extends SearchIndexNodeTypeContext<SC,? super S>>
- java.lang.Object
-
- org.hibernate.search.engine.backend.document.model.spi.AbstractIndexNode<S,SC,NT>
-
- All Implemented Interfaces:
IndexNode<SC>
,SearchIndexNodeContext<SC>
,EventContextProvider
- Direct Known Subclasses:
AbstractIndexField
,AbstractIndexRoot
public abstract class AbstractIndexNode<S extends AbstractIndexNode<S,SC,?>,SC extends SearchIndexScope<?>,NT extends SearchIndexNodeTypeContext<SC,? super S>> extends Object implements IndexNode<SC>
-
-
Constructor Summary
Constructors Constructor Description AbstractIndexNode(NT type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description EventContext
eventContext()
<T> T
queryElement(SearchQueryElementTypeKey<T> key, SC scope)
protected abstract S
self()
NT
type()
-
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.backend.document.model.spi.IndexNode
inclusion, multiValuedInRoot, toComposite, toObjectField, toValueField
-
Methods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexNodeContext
absolutePath, absolutePathComponents, isComposite, isValueField, nestedDocumentPath, nestedPathHierarchy, relativeEventContext
-
-
-
-
Field Detail
-
type
protected final NT extends SearchIndexNodeTypeContext<SC,? super S> type
-
-
Constructor Detail
-
AbstractIndexNode
public AbstractIndexNode(NT type)
-
-
Method Detail
-
self
protected abstract S self()
-
type
public final NT type()
-
eventContext
public final EventContext eventContext()
- Specified by:
eventContext
in interfaceEventContextProvider
-
queryElement
public final <T> T queryElement(SearchQueryElementTypeKey<T> key, SC scope)
- Specified by:
queryElement
in interfaceSearchIndexNodeContext<S extends AbstractIndexNode<S,SC,?>>
-
-