Class PojoMappingDelegateImpl
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.mapping.impl.PojoMappingDelegateImpl
-
- All Implemented Interfaces:
AutoCloseable,PojoMappingDelegate
public class PojoMappingDelegateImpl extends Object implements PojoMappingDelegate
-
-
Constructor Summary
Constructors Constructor Description PojoMappingDelegateImpl(ThreadPoolProvider threadPoolProvider, FailureHandler failureHandler, TenancyMode tenancyMode, PojoTypeManagerContainer typeManagers, PojoSearchQueryElementRegistry searchQueryElementRegistry)
-
Method Summary
-
-
-
Constructor Detail
-
PojoMappingDelegateImpl
public PojoMappingDelegateImpl(ThreadPoolProvider threadPoolProvider, FailureHandler failureHandler, TenancyMode tenancyMode, PojoTypeManagerContainer typeManagers, PojoSearchQueryElementRegistry searchQueryElementRegistry)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacePojoMappingDelegate
-
threadPoolProvider
public ThreadPoolProvider threadPoolProvider()
- Specified by:
threadPoolProviderin interfacePojoMappingDelegate
-
failureHandler
public FailureHandler failureHandler()
- Specified by:
failureHandlerin interfacePojoMappingDelegate
-
tenancyMode
public TenancyMode tenancyMode()
- Specified by:
tenancyModein interfacePojoMappingDelegate
-
projectionRegistry
public ProjectionRegistry projectionRegistry()
- Specified by:
projectionRegistryin interfacePojoMappingDelegate
-
createEntityReferenceFactory
public org.hibernate.search.mapper.pojo.mapping.impl.PojoEntityReferenceFactory createEntityReferenceFactory(PojoEntityReferenceFactoryDelegate delegate)
- Specified by:
createEntityReferenceFactoryin interfacePojoMappingDelegate
-
createPojoScope
public <R extends EntityReference,E,C> PojoScopeDelegate<R,E,C> createPojoScope(PojoScopeMappingContext mappingContext, Collection<? extends PojoRawTypeIdentifier<? extends E>> targetedTypes, PojoScopeTypeExtendedContextProvider<E,C> indexedTypeExtendedContextProvider)
- Specified by:
createPojoScopein interfacePojoMappingDelegate
-
createPojoAllScope
public <R extends EntityReference,C> Optional<PojoScopeDelegate<R,Object,C>> createPojoAllScope(PojoScopeMappingContext mappingContext, PojoScopeTypeExtendedContextProvider<Object,C> indexedTypeExtendedContextProvider)
- Specified by:
createPojoAllScopein interfacePojoMappingDelegate
-
createIndexingPlan
public PojoIndexingPlan createIndexingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)
- Specified by:
createIndexingPlanin interfacePojoMappingDelegate
-
createIndexingPlan
public PojoIndexingPlan createIndexingPlan(PojoWorkSessionContext context, PojoIndexingQueueEventSendingPlan sendingPlan)
- Specified by:
createIndexingPlanin interfacePojoMappingDelegate
-
createEventProcessingPlan
public PojoIndexingQueueEventProcessingPlan createEventProcessingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, PojoIndexingQueueEventSendingPlan sendingPlan)
- Specified by:
createEventProcessingPlanin interfacePojoMappingDelegate
-
createIndexer
public PojoIndexer createIndexer(PojoWorkSessionContext context)
- Specified by:
createIndexerin interfacePojoMappingDelegate
-
configuredSearchIndexingPlanFilter
public ConfiguredSearchIndexingPlanFilter configuredSearchIndexingPlanFilter(SearchIndexingPlanFilter filter, ConfiguredSearchIndexingPlanFilter fallback)
- Specified by:
configuredSearchIndexingPlanFilterin interfacePojoMappingDelegate
-
-