Class AbstractMutationCoordinator
- java.lang.Object
-
- org.hibernate.persister.entity.mutation.AbstractMutationCoordinator
-
- Direct Known Subclasses:
AbstractDeleteCoordinator
,InsertCoordinatorStandard
,UpdateCoordinatorStandard
@Internal public abstract class AbstractMutationCoordinator extends Object
Base support for coordinating mutations against an entity- Implementation Note:
- Split simply to help minimize the size of
AbstractEntityPersister
-
-
Field Summary
Fields Modifier and Type Field Description protected Dialect
dialect
protected AbstractEntityPersister
entityPersister
protected SessionFactoryImplementor
factory
protected MutationExecutorService
mutationExecutorService
-
Constructor Summary
Constructors Constructor Description AbstractMutationCoordinator(AbstractEntityPersister entityPersister, SessionFactoryImplementor factory)
-
Method Summary
-
-
-
Field Detail
-
entityPersister
protected final AbstractEntityPersister entityPersister
-
factory
protected final SessionFactoryImplementor factory
-
mutationExecutorService
protected final MutationExecutorService mutationExecutorService
-
dialect
protected final Dialect dialect
-
-
Constructor Detail
-
AbstractMutationCoordinator
public AbstractMutationCoordinator(AbstractEntityPersister entityPersister, SessionFactoryImplementor factory)
-
-
Method Detail
-
entityPersister
protected AbstractEntityPersister entityPersister()
-
factory
protected SessionFactoryImplementor factory()
-
dialect
protected Dialect dialect()
-
resolveBatchKeyAccess
protected BatchKeyAccess resolveBatchKeyAccess(boolean dynamicUpdate, SharedSessionContractImplementor session)
-
getBatchKey
protected abstract BatchKey getBatchKey()
-
createOperationGroup
protected MutationOperationGroup createOperationGroup(ValuesAnalysis valuesAnalysis, MutationGroup mutationGroup)
-
handleValueGeneration
protected void handleValueGeneration(AttributeMapping attributeMapping, MutationGroupBuilder mutationGroupBuilder, OnExecutionGenerator generator)
-
bindPartitionColumnValueBindings
protected void bindPartitionColumnValueBindings(Object[] loadedState, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings)
-
needsRowId
protected static boolean needsRowId(AbstractEntityPersister entityPersister, EntityTableMapping tableMapping)
-
applyKeyRestriction
protected static void applyKeyRestriction(Object rowId, AbstractEntityPersister entityPersister, RestrictedTableMutationBuilder<?,?> tableMutationBuilder, EntityTableMapping tableMapping)
-
breakDownKeyJdbcValues
protected void breakDownKeyJdbcValues(Object id, Object rowId, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings, EntityTableMapping tableMapping)
-
-