Class AbstractDeleteCoordinator
java.lang.Object
org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
org.hibernate.persister.entity.mutation.AbstractDeleteCoordinator
- All Implemented Interfaces:
DeleteCoordinator,MutationCoordinator
- Direct Known Subclasses:
DeleteCoordinatorSoft,DeleteCoordinatorStandard
public abstract class AbstractDeleteCoordinator
extends AbstractMutationCoordinator
implements DeleteCoordinator
Template support for DeleteCoordinator implementations. Mainly
centers around delegation via generateOperationGroup(java.lang.Object, java.lang.Object[], boolean, org.hibernate.engine.spi.SharedSessionContractImplementor).
-
Field Summary
Fields inherited from class org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
dialect, entityPersister, factory, mutationExecutorService -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDeleteCoordinator(EntityPersister entityPersister, SessionFactoryImplementor factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDynamicDeleteTableDetails(Object id, Object rowId, Object[] loadedState, MutationExecutor mutationExecutor, MutationOperationGroup operationGroup, SharedSessionContractImplementor session) protected voidapplyId(Object id, Object rowId, MutationExecutor mutationExecutor, MutationOperationGroup operationGroup, SharedSessionContractImplementor session) protected voidapplyLocking(Object version, Object[] loadedState, MutationExecutor mutationExecutor, SharedSessionContractImplementor session) protected voidapplyStaticDeleteTableDetails(Object id, Object rowId, Object[] loadedState, Object version, boolean applyVersion, MutationExecutor mutationExecutor, SharedSessionContractImplementor session) voiddelete(Object entity, Object id, Object version, SharedSessionContractImplementor session) Delete a persistent instance.protected voiddoDynamicDelete(Object entity, Object id, Object rowId, Object[] loadedState, SharedSessionContractImplementor session) protected voiddoStaticDelete(Object entity, Object id, Object rowId, Object[] loadedState, Object version, SharedSessionContractImplementor session) protected abstract MutationOperationGroupgenerateOperationGroup(Object rowId, Object[] loadedState, boolean applyVersion, SharedSessionContractImplementor session) The operation group used to perform the mutation unless some form of dynamic mutation is necessary.protected MutationOperationGroupMethods inherited from class org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
applyKeyRestriction, bindPartitionColumnValueBindings, breakDownKeyJdbcValues, createOperation, createOperationGroup, dialect, entityPersister, factory, handleValueGeneration, needsRowId, resolveBatchKeyAccess
-
Constructor Details
-
AbstractDeleteCoordinator
public AbstractDeleteCoordinator(EntityPersister entityPersister, SessionFactoryImplementor factory)
-
-
Method Details
-
getStaticMutationOperationGroup
Description copied from interface:MutationCoordinatorThe operation group used to perform the mutation unless some form of dynamic mutation is necessary.- Specified by:
getStaticMutationOperationGroupin interfaceMutationCoordinator
-
getBatchKey
- Specified by:
getBatchKeyin classAbstractMutationCoordinator
-