Class MutationExecutorStandard
- java.lang.Object
-
- org.hibernate.engine.jdbc.mutation.internal.AbstractMutationExecutor
-
- org.hibernate.engine.jdbc.mutation.internal.MutationExecutorStandard
-
- All Implemented Interfaces:
JdbcValueBindingsImpl.JdbcValueDescriptorAccess
,MutationExecutor
public class MutationExecutorStandard extends AbstractMutationExecutor implements JdbcValueBindingsImpl.JdbcValueDescriptorAccess
Standard MutationExecutor implementation
-
-
Constructor Summary
Constructors Constructor Description MutationExecutorStandard(MutationOperationGroup mutationOperationGroup, BatchKeyAccess batchKeySupplier, int batchSize, SharedSessionContractImplementor session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcValueBindings
getJdbcValueBindings()
Get the delegate to be used to coordinate JDBC parameter binding.protected PreparedStatementGroup
getNonBatchedStatementGroup()
PreparedStatementDetails
getPreparedStatementDetails(String tableName)
Details about thePreparedStatement
for mutating the given table.protected void
performBatchedOperations(ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker)
protected void
performNonBatchedOperations(ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, OperationResultChecker resultChecker, SharedSessionContractImplementor session)
protected void
performSelfExecutingOperations(ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, SharedSessionContractImplementor session)
void
release()
JdbcValueDescriptor
resolveValueDescriptor(String tableName, String columnName, ParameterUsage usage)
String
toString()
-
Methods inherited from class org.hibernate.engine.jdbc.mutation.internal.AbstractMutationExecutor
execute, performNonBatchedMutation, prepareForNonBatchedWork
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.engine.jdbc.mutation.internal.JdbcValueBindingsImpl.JdbcValueDescriptorAccess
resolvePhysicalTableName
-
-
-
-
Constructor Detail
-
MutationExecutorStandard
public MutationExecutorStandard(MutationOperationGroup mutationOperationGroup, BatchKeyAccess batchKeySupplier, int batchSize, SharedSessionContractImplementor session)
-
-
Method Detail
-
getNonBatchedStatementGroup
protected PreparedStatementGroup getNonBatchedStatementGroup()
-
getJdbcValueBindings
public JdbcValueBindings getJdbcValueBindings()
Description copied from interface:MutationExecutor
Get the delegate to be used to coordinate JDBC parameter binding.- Specified by:
getJdbcValueBindings
in interfaceMutationExecutor
-
resolveValueDescriptor
public JdbcValueDescriptor resolveValueDescriptor(String tableName, String columnName, ParameterUsage usage)
- Specified by:
resolveValueDescriptor
in interfaceJdbcValueBindingsImpl.JdbcValueDescriptorAccess
-
getPreparedStatementDetails
public PreparedStatementDetails getPreparedStatementDetails(String tableName)
Description copied from interface:MutationExecutor
Details about thePreparedStatement
for mutating the given table.- Specified by:
getPreparedStatementDetails
in interfaceMutationExecutor
-
release
public void release()
- Specified by:
release
in interfaceMutationExecutor
-
performNonBatchedOperations
protected void performNonBatchedOperations(ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, OperationResultChecker resultChecker, SharedSessionContractImplementor session)
- Overrides:
performNonBatchedOperations
in classAbstractMutationExecutor
-
performSelfExecutingOperations
protected void performSelfExecutingOperations(ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, SharedSessionContractImplementor session)
- Overrides:
performSelfExecutingOperations
in classAbstractMutationExecutor
-
performBatchedOperations
protected void performBatchedOperations(ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker)
- Overrides:
performBatchedOperations
in classAbstractMutationExecutor
-
-