Record Class SqmTranslationRequest.Select
java.lang.Object
java.lang.Record
org.hibernate.query.sqm.sql.spi.SqmTranslationRequest.Select
- All Implemented Interfaces:
SqmTranslationRequest<SqmSelectStatement<?>>
- Enclosing interface:
SqmTranslationRequest<S extends SqmStatement<?>>
public static record SqmTranslationRequest.Select(SqmSelectStatement<?> statement, QueryOptions queryOptions, SqmParameterMapping parameterMapping, QueryParameterBindings parameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems)
extends Record
implements SqmTranslationRequest<SqmSelectStatement<?>>
Request to translate an SQM select statement.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface SqmTranslationRequest
SqmTranslationRequest.Mutation, SqmTranslationRequest.Select -
Constructor Summary
ConstructorsConstructorDescriptionSelect(SqmSelectStatement<?> statement, QueryOptions queryOptions, SqmParameterMapping parameterMapping, QueryParameterBindings parameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) Creates an instance of aSelectrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreationContextrecord component.booleanReturns the value of thededuplicateSelectionItemsrecord 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.
-
Constructor Details
-
Select
public Select(SqmSelectStatement<?> statement, QueryOptions queryOptions, SqmParameterMapping parameterMapping, QueryParameterBindings parameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) Creates an instance of aSelectrecord 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 componentdeduplicateSelectionItems- the value for thededuplicateSelectionItemsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
statement
Returns the value of thestatementrecord component.- Specified by:
statementin interfaceSqmTranslationRequest<SqmSelectStatement<?>>- Returns:
- the value of the
statementrecord component
-
queryOptions
Returns the value of thequeryOptionsrecord component.- Specified by:
queryOptionsin interfaceSqmTranslationRequest<SqmSelectStatement<?>>- Returns:
- the value of the
queryOptionsrecord component
-
parameterMapping
Returns the value of theparameterMappingrecord component.- Specified by:
parameterMappingin interfaceSqmTranslationRequest<SqmSelectStatement<?>>- Returns:
- the value of the
parameterMappingrecord component
-
parameterBindings
Returns the value of theparameterBindingsrecord component.- Specified by:
parameterBindingsin interfaceSqmTranslationRequest<SqmSelectStatement<?>>- Returns:
- the value of the
parameterBindingsrecord component
-
loadQueryInfluencers
Returns the value of theloadQueryInfluencersrecord component.- Specified by:
loadQueryInfluencersin interfaceSqmTranslationRequest<SqmSelectStatement<?>>- Returns:
- the value of the
loadQueryInfluencersrecord component
-
creationContext
Returns the value of thecreationContextrecord component.- Specified by:
creationContextin interfaceSqmTranslationRequest<SqmSelectStatement<?>>- Returns:
- the value of the
creationContextrecord component
-
deduplicateSelectionItems
public boolean deduplicateSelectionItems()Returns the value of thededuplicateSelectionItemsrecord component.- Specified by:
deduplicateSelectionItemsin interfaceSqmTranslationRequest<SqmSelectStatement<?>>- Returns:
- the value of the
deduplicateSelectionItemsrecord component
-