Record Class SqmTranslationRequest.Mutation
java.lang.Object
java.lang.Record
org.hibernate.query.sqm.sql.spi.SqmTranslationRequest.Mutation
- All Implemented Interfaces:
SqmTranslationRequest<SqmDmlStatement<?>>
- Enclosing interface:
SqmTranslationRequest<S extends SqmStatement<?>>
public static record SqmTranslationRequest.Mutation(SqmDmlStatement<?> statement, QueryOptions queryOptions, SqmParameterMapping parameterMapping, QueryParameterBindings parameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext)
extends Record
implements SqmTranslationRequest<SqmDmlStatement<?>>
Request to translate an SQM mutation statement.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface SqmTranslationRequest
SqmTranslationRequest.Mutation, SqmTranslationRequest.Select -
Constructor Summary
ConstructorsConstructorDescriptionMutation(SqmDmlStatement<?> statement, QueryOptions queryOptions, SqmParameterMapping parameterMapping, QueryParameterBindings parameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) Creates an instance of aMutationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreationContextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theloadQueryInfluencersrecord component.Returns the value of theparameterBindingsrecord component.Returns the value of theparameterMappingrecord component.Returns the value of thequeryOptionsrecord component.Returns the value of thestatementrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface SqmTranslationRequest
deduplicateSelectionItems
-
Constructor Details
-
Mutation
public Mutation(SqmDmlStatement<?> statement, QueryOptions queryOptions, SqmParameterMapping parameterMapping, QueryParameterBindings parameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) Creates an instance of aMutationrecord class.- Parameters:
statement- the value for thestatementrecord componentqueryOptions- the value for thequeryOptionsrecord componentparameterMapping- the value for theparameterMappingrecord componentparameterBindings- the value for theparameterBindingsrecord componentloadQueryInfluencers- the value for theloadQueryInfluencersrecord componentcreationContext- the value for thecreationContextrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
statement
Returns the value of thestatementrecord component.- Specified by:
statementin interfaceSqmTranslationRequest<SqmDmlStatement<?>>- Returns:
- the value of the
statementrecord component
-
queryOptions
Returns the value of thequeryOptionsrecord component.- Specified by:
queryOptionsin interfaceSqmTranslationRequest<SqmDmlStatement<?>>- Returns:
- the value of the
queryOptionsrecord component
-
parameterMapping
Returns the value of theparameterMappingrecord component.- Specified by:
parameterMappingin interfaceSqmTranslationRequest<SqmDmlStatement<?>>- Returns:
- the value of the
parameterMappingrecord component
-
parameterBindings
Returns the value of theparameterBindingsrecord component.- Specified by:
parameterBindingsin interfaceSqmTranslationRequest<SqmDmlStatement<?>>- Returns:
- the value of the
parameterBindingsrecord component
-
loadQueryInfluencers
Returns the value of theloadQueryInfluencersrecord component.- Specified by:
loadQueryInfluencersin interfaceSqmTranslationRequest<SqmDmlStatement<?>>- Returns:
- the value of the
loadQueryInfluencersrecord component
-
creationContext
Returns the value of thecreationContextrecord component.- Specified by:
creationContextin interfaceSqmTranslationRequest<SqmDmlStatement<?>>- Returns:
- the value of the
creationContextrecord component
-