Interface PojoScopeDelegate<R extends EntityReference,E,C>
- Type Parameters:
R
- The type of entity references, i.e. the type of hits returned bySearchQuerySelectStep.selectEntityReference()
reference queries},E
- The type of loaded entities, i.e. the type of hits returned byentity queries
, or the type of objects returned forentity projections
.C
- The type of indexed type extended contexts; i.e. the type of elements in the set returned byincludedIndexedTypes()
. or the type of objects returned forentity projections
.
public interface PojoScopeDelegate<R extends EntityReference,E,C>
-
Method Summary
Modifier and TypeMethodDescription<T> T
extension
(IndexScopeExtension<T> extension) massIndexer
(PojoMassIndexingContext context, Set<String> tenantIds) massIndexer
(PojoMassIndexingContext context, DetachedBackendSessionContext detachedSession) Deprecated.<LOS> SearchQuerySelectStep<?,
R, E, LOS, SearchProjectionFactory<R, E>, ?> search
(PojoScopeSessionContext sessionContext, PojoSelectionLoadingContextBuilder<LOS> loadingContextBuilder) sort()
workspace
(DetachedBackendSessionContext sessionContext) Deprecated.Useworkspace(String)
instead.
-
Method Details
-
includedIndexedTypes
-
search
<LOS> SearchQuerySelectStep<?,R, searchE, LOS, SearchProjectionFactory<R, E>, ?> (PojoScopeSessionContext sessionContext, PojoSelectionLoadingContextBuilder<LOS> loadingContextBuilder) -
predicate
SearchPredicateFactory predicate() -
sort
SearchSortFactory sort() -
projection
SearchProjectionFactory<R,E> projection() -
aggregation
SearchAggregationFactory aggregation() -
highlighter
SearchHighlighterFactory highlighter() -
workspace
Deprecated.Useworkspace(String)
instead.- Parameters:
sessionContext
- The detached session, for the tenant ID.- Returns:
- A
PojoScopeWorkspace
.
-
workspace
-
workspace
-
schemaManager
PojoScopeSchemaManager schemaManager() -
massIndexer
@Deprecated PojoMassIndexer massIndexer(PojoMassIndexingContext context, DetachedBackendSessionContext detachedSession) Deprecated.UsemassIndexer(PojoMassIndexingContext, Set)
instead.- Parameters:
context
- The mass indexing context.detachedSession
- The detached session, for the tenant ID.- Returns:
- A
PojoMassIndexer
.
-
massIndexer
-
extension
-
massIndexer(PojoMassIndexingContext, Set)
instead.