Class PojoScopeDelegateImpl<R extends EntityReference,E,C>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.scope.impl.PojoScopeDelegateImpl<R,E,C>
-
- All Implemented Interfaces:
PojoScopeDelegate<R,E,C>
public final class PojoScopeDelegateImpl<R extends EntityReference,E,C> extends Object implements PojoScopeDelegate<R,E,C>
-
-
Method Summary
-
-
-
Method Detail
-
create
public static <R extends EntityReference,E,C> PojoScopeDelegate<R,E,C> create(PojoScopeMappingContext mappingContext, PojoScopeTypeContextProvider typeContextProvider, Collection<? extends PojoRawTypeIdentifier<? extends E>> targetedTypes, PojoScopeTypeExtendedContextProvider<E,C> indexedTypeExtendedContextProvider)
-
includedIndexedTypes
public Set<C> includedIndexedTypes()
- Specified by:
includedIndexedTypesin interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
search
public <LOS> SearchQuerySelectStep<?,R,E,LOS,SearchProjectionFactory<R,E>,?> search(PojoScopeSessionContext sessionContext, PojoSelectionLoadingContextBuilder<LOS> loadingContextBuilder)
- Specified by:
searchin interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
predicate
public SearchPredicateFactory predicate()
- Specified by:
predicatein interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
sort
public SearchSortFactory sort()
- Specified by:
sortin interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
projection
public SearchProjectionFactory<R,E> projection()
- Specified by:
projectionin interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
aggregation
public SearchAggregationFactory aggregation()
- Specified by:
aggregationin interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
highlighter
public SearchHighlighterFactory highlighter()
- Specified by:
highlighterin interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
workspace
@Deprecated public PojoScopeWorkspace workspace(DetachedBackendSessionContext sessionContext)
Deprecated.- Specified by:
workspacein interfacePojoScopeDelegate<R extends EntityReference,E,C>- Parameters:
sessionContext- The detached session, for the tenant ID.- Returns:
- A
PojoScopeWorkspace.
-
workspace
public PojoScopeWorkspace workspace(String tenantId)
- Specified by:
workspacein interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
workspace
public PojoScopeWorkspace workspace(Set<String> tenantIds)
- Specified by:
workspacein interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
schemaManager
public PojoScopeSchemaManager schemaManager()
- Specified by:
schemaManagerin interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
massIndexer
@Deprecated public PojoMassIndexer massIndexer(PojoMassIndexingContext context, DetachedBackendSessionContext detachedSession)
Deprecated.- Specified by:
massIndexerin interfacePojoScopeDelegate<R extends EntityReference,E,C>- Parameters:
context- The mass indexing context.detachedSession- The detached session, for the tenant ID.- Returns:
- A
PojoMassIndexer.
-
massIndexer
public PojoMassIndexer massIndexer(PojoMassIndexingContext context, Set<String> tenantIds)
- Specified by:
massIndexerin interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
extension
public <T> T extension(IndexScopeExtension<T> extension)
- Specified by:
extensionin interfacePojoScopeDelegate<R extends EntityReference,E,C>
-
-