Class UpdateExecutionDelegate
java.lang.Object
org.hibernate.query.sqm.mutation.internal.temptable.UpdateExecutionDelegate
- All Implemented Interfaces:
TableBasedUpdateHandler.ExecutionDelegate
public class UpdateExecutionDelegate
extends Object
implements TableBasedUpdateHandler.ExecutionDelegate
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateExecutionDelegate
(MultiTableSqmMutationConverter sqmConverter, TemporaryTable idTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor, String> sessionUidAccess, DomainParameterXref domainParameterXref, TableGroup updatingTableGroup, Map<String, TableReference> tableReferenceByAlias, List<Assignment> assignments, Predicate suppliedPredicate, DomainQueryExecutionContext executionContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected Expression
asExpression
(SelectClause selectClause) protected QuerySpec
createExistsSubQuerySpec
(String targetTableExpression, Supplier<Consumer<SelectableConsumer>> tableKeyColumnVisitationSupplier, QuerySpec idTableSubQuery) int
execute
(ExecutionContext executionContext) protected AfterUseAction
protected Map<TableReference,
List<Assignment>> protected EntityMappingType
protected TemporaryTable
For Hibernate Reactiveprotected JdbcParameterBindings
protected SessionFactoryImplementor
protected Function<SharedSessionContractImplementor,
String> protected MultiTableSqmMutationConverter
protected Predicate
protected TableGroup
protected boolean
isTableOptional
(String tableExpression) protected static QuerySpec
makeInsertSourceSelectQuerySpec
(QuerySpec idTableSubQuery) protected Expression
resolveMutatingTableKeyExpression
(String tableExpression, Supplier<Consumer<SelectableConsumer>> tableKeyColumnVisitationSupplier) protected TableReference
resolveTableReference
(ColumnReference columnReference, Map<String, TableReference> tableReferenceByAlias) protected NamedTableReference
resolveUnionTableReference
(TableReference tableReference, String tableExpression)
-
Constructor Details
-
UpdateExecutionDelegate
public UpdateExecutionDelegate(MultiTableSqmMutationConverter sqmConverter, TemporaryTable idTable, AfterUseAction afterUseAction, Function<SharedSessionContractImplementor, String> sessionUidAccess, DomainParameterXref domainParameterXref, TableGroup updatingTableGroup, Map<String, TableReference> tableReferenceByAlias, List<Assignment> assignments, Predicate suppliedPredicate, DomainQueryExecutionContext executionContext)
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceTableBasedUpdateHandler.ExecutionDelegate
-
resolveTableReference
protected TableReference resolveTableReference(ColumnReference columnReference, Map<String, TableReference> tableReferenceByAlias) -
resolveUnionTableReference
protected NamedTableReference resolveUnionTableReference(TableReference tableReference, String tableExpression) -
isTableOptional
-
createExistsSubQuerySpec
-
makeInsertSourceSelectQuerySpec
-
resolveMutatingTableKeyExpression
protected Expression resolveMutatingTableKeyExpression(String tableExpression, Supplier<Consumer<SelectableConsumer>> tableKeyColumnVisitationSupplier) -
asExpression
-
getIdTable
For Hibernate Reactive -
getSuppliedPredicate
-
getSqmConverter
-
getSessionUidAccess
-
getJdbcParameterBindings
-
getEntityDescriptor
-
getAfterUseAction
-
getUpdatingTableGroup
-
getAssignmentsByTable
-
getSessionFactory
-