Interface PojoMappingDelegate
- All Superinterfaces:
AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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) <R extends EntityReference,
C>
Optional<PojoScopeDelegate<R, Object, C>> createPojoAllScope
(PojoScopeMappingContext mappingContext, PojoScopeTypeExtendedContextProvider<Object, C> indexedTypeExtendedContextProvider) <R extends EntityReference,
E, C>
PojoScopeDelegate<R, E, C> createPojoScope
(PojoScopeMappingContext mappingContext, Collection<? extends PojoRawTypeIdentifier<? extends E>> targetedTypes, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Deprecated.<R extends EntityReference,
E, C>
PojoScopeDelegate<R, E, C> createPojoScopeForClasses
(PojoScopeMappingContext mappingContext, Collection<? extends Class<? extends E>> classes, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Creates aPojoScopeDelegate
limited to indexed entity types among the given classes and their subtypes.<R extends EntityReference,
E, C>
PojoScopeDelegate<R, E, C> createPojoScopeForEntityNames
(PojoScopeMappingContext mappingContext, Class<E> expectedSuperType, Collection<String> entityNames, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Creates aPojoScopeDelegate
limited to indexed entity types among the entities with the given names and their subtypes.mappedTypeContext
(String name)
-
Method Details
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
-
threadPoolProvider
ThreadPoolProvider threadPoolProvider() -
failureHandler
FailureHandler failureHandler() -
typeIdentifierResolver
PojoRawTypeIdentifierResolver typeIdentifierResolver() -
typeContextProvider
PojoLoadingTypeContextProvider typeContextProvider() -
tenancyMode
TenancyMode tenancyMode() -
projectionRegistry
ProjectionRegistry projectionRegistry() -
mappedTypeContext
-
createEntityReferenceFactory
-
createPojoScopeForClasses
<R extends EntityReference,E, PojoScopeDelegate<R,C> E, createPojoScopeForClassesC> (PojoScopeMappingContext mappingContext, Collection<? extends Class<? extends E>> classes, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Creates aPojoScopeDelegate
limited to indexed entity types among the given classes and their subtypes.- Type Parameters:
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.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
<R extends EntityReference,E, PojoScopeDelegate<R,C> E, createPojoScopeForEntityNamesC> (PojoScopeMappingContext mappingContext, Class<E> expectedSuperType, Collection<String> entityNames, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Creates aPojoScopeDelegate
limited to indexed entity types among the entities with the given names and their subtypes.- Type Parameters:
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 <R extends EntityReference,E, PojoScopeDelegate<R,C> E, createPojoScopeC> (PojoScopeMappingContext mappingContext, Collection<? extends PojoRawTypeIdentifier<? extends E>> targetedTypes, PojoScopeTypeExtendedContextProvider<E, C> indexedTypeExtendedContextProvider) Deprecated.UsecreatePojoScopeForClasses(PojoScopeMappingContext, Collection, PojoScopeTypeExtendedContextProvider)
orcreatePojoScopeForEntityNames(PojoScopeMappingContext, Class, Collection, PojoScopeTypeExtendedContextProvider)
orcreatePojoAllScope(PojoScopeMappingContext, PojoScopeTypeExtendedContextProvider)
instead.Creates aPojoScopeDelegate
limited to indexed entity types among the given types and their subtypes.- Type Parameters:
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
<R extends EntityReference,C> Optional<PojoScopeDelegate<R,Object, createPojoAllScopeC>> (PojoScopeMappingContext mappingContext, 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, Collection, PojoScopeTypeExtendedContextProvider)
orcreatePojoScopeForEntityNames(PojoScopeMappingContext, Class, Collection, PojoScopeTypeExtendedContextProvider)
orcreatePojoAllScope(PojoScopeMappingContext, PojoScopeTypeExtendedContextProvider)
instead.