Class AbstractPojoMappingImplementor<M>
java.lang.Object
org.hibernate.search.mapper.pojo.mapping.spi.AbstractPojoMappingImplementor<M>
- All Implemented Interfaces:
BackendMappingContext,MappingImplementor<M>,BridgeMappingContext,PojoMassIndexingMappingContext,PojoScopeMappingContext,PojoSearchSessionMappingContext,PojoWorkMappingContext
public abstract class AbstractPojoMappingImplementor<M>
extends Object
implements MappingImplementor<M>, PojoScopeMappingContext, PojoSearchSessionMappingContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIndexer(PojoWorkSessionContext context) createIndexingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) createIndexingPlan(PojoWorkSessionContext context, PojoIndexingQueueEventSendingPlan sendingPlan) createIndexingQueueEventProcessingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, PojoIndexingQueueEventSendingPlan sendingPlan) protected final PojoMappingDelegatedelegate()protected voiddoStop()hints()preStop(MappingPreStopContext context) start(MappingStartContext context) voidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.search.engine.backend.mapping.spi.BackendMappingContext
mappedTypeContextMethods inherited from interface org.hibernate.search.engine.mapper.mapping.spi.MappingImplementor
toConcreteTypeMethods inherited from interface org.hibernate.search.mapper.pojo.massindexing.spi.PojoMassIndexingMappingContext
createMassIndexerAgent, entityReferenceFactoryMethods inherited from interface org.hibernate.search.mapper.pojo.work.spi.PojoWorkMappingContext
entityReferenceFactory
-
Constructor Details
-
AbstractPojoMappingImplementor
-
-
Method Details
-
start
- Specified by:
startin interfaceMappingImplementor<M>
-
preStop
- Specified by:
preStopin interfaceMappingImplementor<M>
-
stop
public void stop()- Specified by:
stopin interfaceMappingImplementor<M>
-
hints
- Specified by:
hintsin interfaceBackendMappingContext
-
threadPoolProvider
- Specified by:
threadPoolProviderin interfacePojoMassIndexingMappingContext- Returns:
- A
ThreadPoolProvider.
-
failureHandler
- Specified by:
failureHandlerin interfacePojoMassIndexingMappingContext- Returns:
- A
FailureHandler.
-
toDocumentValueConvertContext
- Specified by:
toDocumentValueConvertContextin interfaceBackendMappingContext
-
projectionRegistry
- Specified by:
projectionRegistryin interfaceBackendMappingContext
-
identifierBridgeToDocumentIdentifierContext
public final IdentifierBridgeToDocumentIdentifierContext identifierBridgeToDocumentIdentifierContext()- Specified by:
identifierBridgeToDocumentIdentifierContextin interfaceBridgeMappingContext
-
valueBridgeToIndexedValueContext
- Specified by:
valueBridgeToIndexedValueContextin interfaceBridgeMappingContext
-
createIndexingPlan
public PojoIndexingPlan createIndexingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy) - Specified by:
createIndexingPlanin interfacePojoSearchSessionMappingContext
-
createIndexingPlan
public PojoIndexingPlan createIndexingPlan(PojoWorkSessionContext context, PojoIndexingQueueEventSendingPlan sendingPlan) - Specified by:
createIndexingPlanin interfacePojoSearchSessionMappingContext
-
createIndexer
- Specified by:
createIndexerin interfacePojoSearchSessionMappingContext
-
createIndexingQueueEventProcessingPlan
public PojoIndexingQueueEventProcessingPlan createIndexingQueueEventProcessingPlan(PojoWorkSessionContext context, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy, PojoIndexingQueueEventSendingPlan sendingPlan) - Specified by:
createIndexingQueueEventProcessingPlanin interfacePojoSearchSessionMappingContext
-
delegate
-
doStop
protected void doStop()
-