Class AbstractSearchIndexScope<S extends SearchQueryIndexScope<?>,M extends AbstractIndexModel<?,? extends C,? extends N>,N extends SearchIndexNodeContext<? super S>,C extends SearchIndexCompositeNodeContext<? super S>>
- java.lang.Object
-
- org.hibernate.search.engine.backend.scope.spi.AbstractSearchIndexScope<S,M,N,C>
-
- All Implemented Interfaces:
SearchAggregationIndexScope<S>,SearchIndexScope<S>,SearchPredicateIndexScope<S>,SearchProjectionIndexScope<S>,SearchQueryIndexScope<S>,SearchSortIndexScope<S>,EventContextProvider
public abstract class AbstractSearchIndexScope<S extends SearchQueryIndexScope<?>,M extends AbstractIndexModel<?,? extends C,? extends N>,N extends SearchIndexNodeContext<? super S>,C extends SearchIndexCompositeNodeContext<? super S>> extends Object implements SearchIndexScope<S>, SearchQueryIndexScope<S>
-
-
Constructor Summary
Constructors Modifier Constructor Description AbstractSearchIndexScope(BackendMappingContext mappingContext, Set<? extends M> indexModels)protectedAbstractSearchIndexScope(AbstractSearchIndexScope<S,M,N,C> parentScope, C overriddenRoot)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Nchild(SearchIndexCompositeNodeContext<?> parent, String name)protected abstract NcreateMultiIndexSearchObjectFieldContext(String absolutePath, List<N> fieldForEachIndex)protected abstract CcreateMultiIndexSearchRootContext(List<C> rootForEachIndex)protected abstract NcreateMultiIndexSearchValueFieldContext(String absolutePath, List<N> fieldForEachIndex)EventContexteventContext()protected Nfield(String fieldPath)<T> TfieldQueryElement(String fieldPath, SearchQueryElementTypeKey<T> key)Set<String>hibernateSearchIndexNames()SearchIndexIdentifierContextidentifier()protected EventContextindexesAndRootEventContext()protected Croot()<T> TrootQueryElement(SearchQueryElementTypeKey<T> key)protected abstract Sself()StringtoAbsolutePath(String relativeFieldPath)ToDocumentValueConvertContexttoDocumentValueConvertContext()-
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.aggregation.spi.SearchAggregationIndexScope
aggregationBuilders
-
Methods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexScope
withRoot
-
Methods inherited from interface org.hibernate.search.engine.search.predicate.spi.SearchPredicateIndexScope
predicateBuilders
-
Methods inherited from interface org.hibernate.search.engine.search.projection.spi.SearchProjectionIndexScope
projectionBuilders
-
Methods inherited from interface org.hibernate.search.engine.search.query.spi.SearchQueryIndexScope
aggregationFactory, predicateFactory, projectionFactory, select, sortFactory
-
Methods inherited from interface org.hibernate.search.engine.search.sort.spi.SearchSortIndexScope
sortBuilders
-
-
-
-
Constructor Detail
-
AbstractSearchIndexScope
public AbstractSearchIndexScope(BackendMappingContext mappingContext, Set<? extends M> indexModels)
-
-
Method Detail
-
eventContext
public EventContext eventContext()
- Specified by:
eventContextin interfaceEventContextProvider
-
indexesAndRootEventContext
protected final EventContext indexesAndRootEventContext()
-
self
protected abstract S self()
-
toDocumentValueConvertContext
public final ToDocumentValueConvertContext toDocumentValueConvertContext()
- Specified by:
toDocumentValueConvertContextin interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
hibernateSearchIndexNames
public final Set<String> hibernateSearchIndexNames()
- Specified by:
hibernateSearchIndexNamesin interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
toAbsolutePath
public String toAbsolutePath(String relativeFieldPath)
- Specified by:
toAbsolutePathin interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
identifier
public SearchIndexIdentifierContext identifier()
- Specified by:
identifierin interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
root
protected C root()
-
child
public final N child(SearchIndexCompositeNodeContext<?> parent, String name)
- Specified by:
childin interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
rootQueryElement
public final <T> T rootQueryElement(SearchQueryElementTypeKey<T> key)
- Specified by:
rootQueryElementin interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
fieldQueryElement
public final <T> T fieldQueryElement(String fieldPath, SearchQueryElementTypeKey<T> key)
- Specified by:
fieldQueryElementin interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
createMultiIndexSearchRootContext
protected abstract C createMultiIndexSearchRootContext(List<C> rootForEachIndex)
-
createMultiIndexSearchValueFieldContext
protected abstract N createMultiIndexSearchValueFieldContext(String absolutePath, List<N> fieldForEachIndex)
-
-