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>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionAbstractSearchIndexScope
(BackendMappingContext mappingContext, Set<? extends M> indexModels) protected
AbstractSearchIndexScope
(AbstractSearchIndexScope<S, M, N, C> parentScope, C overriddenRoot) -
Method Summary
Modifier and TypeMethodDescriptionfinal N
child
(SearchIndexCompositeNodeContext<?> parent, String name) protected abstract N
createMultiIndexSearchObjectFieldContext
(String absolutePath, List<N> fieldForEachIndex) protected abstract C
createMultiIndexSearchRootContext
(List<C> rootForEachIndex) protected abstract N
createMultiIndexSearchValueFieldContext
(String absolutePath, List<N> fieldForEachIndex) protected N
final <T> T
fieldQueryElement
(String fieldPath, SearchQueryElementTypeKey<T> key) protected final EventContext
List
<? extends ProjectionMappedTypeContext> protected C
root()
final <T> T
protected abstract S
self()
toAbsolutePath
(String relativeFieldPath) 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, highlighterFactory, predicateFactory, projectionFactory, select, sortFactory
Methods inherited from interface org.hibernate.search.engine.search.sort.spi.SearchSortIndexScope
sortBuilders
-
Field Details
-
mappingContext
-
-
Constructor Details
-
AbstractSearchIndexScope
-
AbstractSearchIndexScope
-
-
Method Details
-
mappingContext
- Specified by:
mappingContext
in interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
eventContext
- Specified by:
eventContext
in interfaceEventContextProvider
-
indexesAndRootEventContext
-
self
-
toDocumentValueConvertContext
- Specified by:
toDocumentValueConvertContext
in interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
hibernateSearchIndexNames
- Specified by:
hibernateSearchIndexNames
in interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
toAbsolutePath
- Specified by:
toAbsolutePath
in interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
identifier
- Specified by:
identifier
in interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
root
-
field
-
child
- Specified by:
child
in interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
rootQueryElement
- Specified by:
rootQueryElement
in interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
fieldQueryElement
- Specified by:
fieldQueryElement
in interfaceSearchIndexScope<S extends SearchQueryIndexScope<?>>
-
projectionRegistry
- Specified by:
projectionRegistry
in interfaceSearchProjectionIndexScope<S extends SearchQueryIndexScope<?>>
-
mappedTypeContexts
- Specified by:
mappedTypeContexts
in interfaceSearchProjectionIndexScope<S extends SearchQueryIndexScope<?>>
-
createMultiIndexSearchRootContext
-
createMultiIndexSearchValueFieldContext
-
createMultiIndexSearchObjectFieldContext
-