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 ExpressionasExpression(SelectClause selectClause) protected QuerySpeccreateExistsSubQuerySpec(String targetTableExpression, Supplier<Consumer<SelectableConsumer>> tableKeyColumnVisitationSupplier, QuerySpec idTableSubQuery) intexecute(ExecutionContext executionContext) protected AfterUseActionprotected Map<TableReference,List<Assignment>> protected EntityMappingTypeprotected TemporaryTableFor Hibernate Reactiveprotected JdbcParameterBindingsprotected SessionFactoryImplementorprotected Function<SharedSessionContractImplementor,String> protected MultiTableSqmMutationConverterprotected Predicateprotected TableGroupprotected booleanisTableOptional(String tableExpression) protected static QuerySpecmakeInsertSourceSelectQuerySpec(QuerySpec idTableSubQuery) protected ExpressionresolveMutatingTableKeyExpression(String tableExpression, Supplier<Consumer<SelectableConsumer>> tableKeyColumnVisitationSupplier) protected TableReferenceresolveTableReference(ColumnReference columnReference, Map<String, TableReference> tableReferenceByAlias) protected NamedTableReferenceresolveUnionTableReference(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:
executein 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
-