Interface PojoMappingDelegate
- All Superinterfaces:
AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()configuredSearchIndexingPlanFilter(SearchIndexingPlanFilter filter, ConfiguredSearchIndexingPlanFilter fallback) createEventProcessingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, PojoIndexingQueueEventSendingPlan sendingPlan) createIndexer(PojoWorkSessionContext context) createIndexingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) createIndexingPlan(PojoWorkSessionContext context, PojoIndexingQueueEventSendingPlan sendingPlan) <SR,R extends EntityReference, C>
Optional<PojoScopeDelegate<SR, R, Object, C>> createPojoAllScope(PojoScopeMappingContext mappingContext, Class<SR> rootScope, PojoScopeTypeExtendedContextProvider<Object, C> indexedTypeExtendedContextProvider) <SR,R extends EntityReference, E, C>
PojoScopeDelegate<SR, R, E, C> createPojoScope(PojoScopeMappingContext mappingContext, Class<SR> rootScope, Collection<? extends PojoRawTypeIdentifier<? extends E>> targetedTypes, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Deprecated.<SR,R extends EntityReference, E, C>
PojoScopeDelegate<SR, R, E, C> createPojoScopeForClasses(PojoScopeMappingContext mappingContext, Class<SR> rootScope, Collection<? extends Class<? extends E>> classes, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Creates aPojoScopeDelegatelimited to indexed entity types among the given classes and their subtypes.<SR,R extends EntityReference, E, C>
PojoScopeDelegate<SR, R, E, C> createPojoScopeForEntityNames(PojoScopeMappingContext mappingContext, Class<SR> rootScope, Class<E> expectedSuperType, Collection<String> entityNames, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Creates aPojoScopeDelegatelimited to indexed entity types among the entities with the given names and their subtypes.mappedTypeContext(String name)
-
Method Details
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-
threadPoolProvider
ThreadPoolProvider threadPoolProvider() -
failureHandler
FailureHandler failureHandler() -
typeIdentifierResolver
PojoRawTypeIdentifierResolver typeIdentifierResolver() -
typeContextProvider
PojoLoadingTypeContextProvider typeContextProvider() -
tenancyMode
TenancyMode tenancyMode() -
projectionRegistry
ProjectionRegistry projectionRegistry() -
mappedTypeContext
-
createEntityReferenceFactory
-
createPojoScopeForClasses
<SR,R extends EntityReference, PojoScopeDelegate<SR,E, C> R, createPojoScopeForClassesE, C> (PojoScopeMappingContext mappingContext, Class<SR> rootScope, Collection<? extends Class<? extends E>> classes, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Creates aPojoScopeDelegatelimited to indexed entity types among the given classes and their subtypes.- Type Parameters:
SR- Scope root type.R- The type of entity references.E- A supertype of all indexed entity types to include in the scope.C- The type of extended, mapper-specific type contexts.- Parameters:
mappingContext- The mapping context.rootScope- A class representig theSR.classes- A collection of classes. Each must be an indexed entity type or a supertype of such type.indexedTypeExtendedContextProvider- A provider of extended, mapper-specific type contexts. that will be made available throughPojoScopeDelegate.includedIndexedTypes().- Returns:
- A
PojoScopeDelegate
-
createPojoScopeForEntityNames
<SR,R extends EntityReference, PojoScopeDelegate<SR,E, C> R, createPojoScopeForEntityNamesE, C> (PojoScopeMappingContext mappingContext, Class<SR> rootScope, Class<E> expectedSuperType, Collection<String> entityNames, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Creates aPojoScopeDelegatelimited to indexed entity types among the entities with the given names and their subtypes.- Type Parameters:
SR- Scope root type.R- The type of entity references.E- A supertype of all indexed entity types to include in the scope.C- The type of extended, mapper-specific type contexts.- Parameters:
mappingContext- The mapping context.expectedSuperType- A supertype of all indexed entity types to include in the scope.entityNames- A collection of entity names. Each entity type referenced in the collection must be an indexed entity type or a supertype of such type.indexedTypeExtendedContextProvider- A provider of extended, mapper-specific type contexts. that will be made available throughPojoScopeDelegate.includedIndexedTypes().- Returns:
- A
PojoScopeDelegate
-
createPojoScope
@Deprecated(since="7.1") <SR,R extends EntityReference, PojoScopeDelegate<SR,E, C> R, createPojoScopeE, C> (PojoScopeMappingContext mappingContext, Class<SR> rootScope, Collection<? extends PojoRawTypeIdentifier<? extends E>> targetedTypes, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Deprecated.UsecreatePojoScopeForClasses(PojoScopeMappingContext, Class, Collection, PojoScopeTypeExtendedContextProvider)orcreatePojoScopeForEntityNames(PojoScopeMappingContext, Class, Class, Collection, PojoScopeTypeExtendedContextProvider)orcreatePojoAllScope(PojoScopeMappingContext, Class, PojoScopeTypeExtendedContextProvider)instead.Creates aPojoScopeDelegatelimited to indexed entity types among the given types and their subtypes.- Type Parameters:
SR- Scope root type.R- The type of entity references.E- A supertype of all indexed entity types to include in the scope.C- The type of extended, mapper-specific type contexts.- Parameters:
mappingContext- The mapping context.targetedTypes- A collection of types. Each must be an indexed entity type or a supertype of such type.indexedTypeExtendedContextProvider- A provider of extended, mapper-specific type contexts. that will be made available throughPojoScopeDelegate.includedIndexedTypes().- Returns:
- A
PojoScopeDelegate
-
createPojoAllScope
<SR,R extends EntityReference, Optional<PojoScopeDelegate<SR,C> R, createPojoAllScopeObject, C>> (PojoScopeMappingContext mappingContext, Class<SR> rootScope, PojoScopeTypeExtendedContextProvider<Object, C> indexedTypeExtendedContextProvider) -
createIndexingPlan
PojoIndexingPlan createIndexingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) -
createIndexingPlan
PojoIndexingPlan createIndexingPlan(PojoWorkSessionContext context, PojoIndexingQueueEventSendingPlan sendingPlan) -
createEventProcessingPlan
PojoIndexingQueueEventProcessingPlan createEventProcessingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, PojoIndexingQueueEventSendingPlan sendingPlan) -
createIndexer
-
configuredSearchIndexingPlanFilter
ConfiguredSearchIndexingPlanFilter configuredSearchIndexingPlanFilter(SearchIndexingPlanFilter filter, ConfiguredSearchIndexingPlanFilter fallback)
-
createPojoScopeForClasses(PojoScopeMappingContext, Class, Collection, PojoScopeTypeExtendedContextProvider)orcreatePojoScopeForEntityNames(PojoScopeMappingContext, Class, Class, Collection, PojoScopeTypeExtendedContextProvider)orcreatePojoAllScope(PojoScopeMappingContext, Class, PojoScopeTypeExtendedContextProvider)instead.