Package org.hibernate.query.sqm.internal
Class SimpleNonSelectQueryPlan
java.lang.Object
org.hibernate.query.sqm.internal.SimpleNonSelectQueryPlan
- All Implemented Interfaces:
NonSelectQueryPlan,QueryPlan
- Direct Known Subclasses:
SimpleDeleteQueryPlan
- Since:
- 7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final record -
Constructor Summary
ConstructorsConstructorDescriptionSimpleNonSelectQueryPlan(SqmDmlStatement<?> statement, DomainParameterXref domainParameterXref) -
Method Summary
Modifier and TypeMethodDescriptionprotected SimpleNonSelectQueryPlan.InterpretationbuildInterpretation(SqmDmlStatement<?> sqm, DomainParameterXref domainParameterXref, DomainQueryExecutionContext executionContext) protected SimpleNonSelectQueryPlan.InterpretationbuildInterpretation(MutationStatement mutationStatement, Map<QueryParameterImplementor<?>, Map<SqmParameter<?>, List<JdbcParametersList>>> jdbcParamsXref, Map<SqmParameter<?>, MappingModelExpressible<?>> parameterModelTypeResolutions, JdbcParameterBindings jdbcParameterBindings, DomainQueryExecutionContext executionContext) protected SqmTranslation<? extends MutationStatement> buildTranslation(SqmDmlStatement<?> sqm, DomainParameterXref domainParameterXref, DomainQueryExecutionContext executionContext) protected intexecute(CacheableSqmInterpretation<MutationStatement, JdbcOperationQueryMutation> sqmInterpretation, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext) intexecuteUpdate(DomainQueryExecutionContext context) protected SimpleNonSelectQueryPlan.Interpretationprotected SqmDmlStatement<?>
-
Constructor Details
-
SimpleNonSelectQueryPlan
public SimpleNonSelectQueryPlan(SqmDmlStatement<?> statement, DomainParameterXref domainParameterXref)
-
-
Method Details
-
getStatement
-
executeUpdate
- Specified by:
executeUpdatein interfaceNonSelectQueryPlan
-
execute
protected int execute(CacheableSqmInterpretation<MutationStatement, JdbcOperationQueryMutation> sqmInterpretation, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext) -
buildTranslation
protected SqmTranslation<? extends MutationStatement> buildTranslation(SqmDmlStatement<?> sqm, DomainParameterXref domainParameterXref, DomainQueryExecutionContext executionContext) -
getInterpretation
protected SimpleNonSelectQueryPlan.Interpretation getInterpretation(DomainQueryExecutionContext context) -
buildInterpretation
protected SimpleNonSelectQueryPlan.Interpretation buildInterpretation(SqmDmlStatement<?> sqm, DomainParameterXref domainParameterXref, DomainQueryExecutionContext executionContext) -
buildInterpretation
protected SimpleNonSelectQueryPlan.Interpretation buildInterpretation(MutationStatement mutationStatement, Map<QueryParameterImplementor<?>, Map<SqmParameter<?>, List<JdbcParametersList>>> jdbcParamsXref, Map<SqmParameter<?>, MappingModelExpressible<?>> parameterModelTypeResolutions, JdbcParameterBindings jdbcParameterBindings, DomainQueryExecutionContext executionContext)
-