Class PojoIndexingPlanLocalStrategy
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.work.impl.PojoIndexingPlanLocalStrategy
-
public class PojoIndexingPlanLocalStrategy extends Object
A strategy for handling indexing locally (as opposed to sending events to a remote processor).
-
-
Constructor Summary
Constructors Constructor Description PojoIndexingPlanLocalStrategy(DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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)CompletableFuture<MultiEntityOperationExecutionReport>doExecuteAndReport(Collection<PojoIndexedTypeIndexingPlan<?,?>> indexedTypeDelegates, PojoLoadingPlanProvider loadingPlanProvider, OperationSubmitter operationSubmitter)booleanshouldResolveDirtyForDeleteOnly()
-
-
-
Constructor Detail
-
PojoIndexingPlanLocalStrategy
public PojoIndexingPlanLocalStrategy(DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)
-
-
Method Detail
-
shouldResolveDirtyForDeleteOnly
public boolean shouldResolveDirtyForDeleteOnly()
-
doExecuteAndReport
public CompletableFuture<MultiEntityOperationExecutionReport> doExecuteAndReport(Collection<PojoIndexedTypeIndexingPlan<?,?>> indexedTypeDelegates, PojoLoadingPlanProvider loadingPlanProvider, OperationSubmitter operationSubmitter)
-
doDiscard
public void doDiscard(Collection<PojoIndexedTypeIndexingPlan<?,?>> indexedTypeDelegates)
-
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)
-
-