Class PojoIndexingPlanLocalStrategy
java.lang.Object
org.hibernate.search.mapper.pojo.work.impl.PojoIndexingPlanLocalStrategy
A strategy for handling indexing locally (as opposed to sending events to a remote processor).
-
Constructor Summary
ConstructorsConstructorDescriptionPojoIndexingPlanLocalStrategy(DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) -
Method Summary
Modifier and TypeMethodDescription<I,E> PojoContainedTypeIndexingPlan<I, E> createDelegate(PojoWorkContainedTypeContext<I, E> typeContext, PojoWorkSessionContext sessionContext, PojoIndexingPlanImpl root) <I,E> PojoIndexedTypeIndexingPlan<I, E> createIndexedDelegate(PojoWorkIndexedTypeContext<I, E> typeContext, PojoWorkSessionContext sessionContext, PojoIndexingPlanImpl root) voiddoDiscard(Collection<PojoIndexedTypeIndexingPlan<?, ?>> indexedTypeDelegates) doExecuteAndReport(Collection<PojoIndexedTypeIndexingPlan<?, ?>> indexedTypeDelegates, PojoLoadingPlanProvider loadingPlanProvider, OperationSubmitter operationSubmitter) boolean
-
Constructor Details
-
PojoIndexingPlanLocalStrategy
public PojoIndexingPlanLocalStrategy(DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)
-
-
Method Details
-
shouldResolveDirtyForDeleteOnly
public boolean shouldResolveDirtyForDeleteOnly() -
doExecuteAndReport
public CompletableFuture<MultiEntityOperationExecutionReport> doExecuteAndReport(Collection<PojoIndexedTypeIndexingPlan<?, ?>> indexedTypeDelegates, PojoLoadingPlanProvider loadingPlanProvider, OperationSubmitter operationSubmitter) -
doDiscard
-
createIndexedDelegate
public <I,E> PojoIndexedTypeIndexingPlan<I,E> createIndexedDelegate(PojoWorkIndexedTypeContext<I, E> typeContext, PojoWorkSessionContext sessionContext, PojoIndexingPlanImpl root) -
createDelegate
public <I,E> PojoContainedTypeIndexingPlan<I,E> createDelegate(PojoWorkContainedTypeContext<I, E> typeContext, PojoWorkSessionContext sessionContext, PojoIndexingPlanImpl root)
-