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.Interpretation
buildInterpretation
(SqmDmlStatement<?> sqm, DomainParameterXref domainParameterXref, DomainQueryExecutionContext executionContext) protected SimpleNonSelectQueryPlan.Interpretation
buildInterpretation
(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 int
execute
(CacheableSqmInterpretation<MutationStatement, JdbcOperationQueryMutation> sqmInterpretation, JdbcParameterBindings jdbcParameterBindings, ExecutionContext executionContext) int
executeUpdate
(DomainQueryExecutionContext context) protected SimpleNonSelectQueryPlan.Interpretation
protected SqmDmlStatement
<?>
-
Constructor Details
-
SimpleNonSelectQueryPlan
public SimpleNonSelectQueryPlan(SqmDmlStatement<?> statement, DomainParameterXref domainParameterXref)
-
-
Method Details
-
getStatement
-
executeUpdate
- Specified by:
executeUpdate
in 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)
-