Interface SqmTranslationRequest<S extends SqmStatement<?>>

Type Parameters:
S - the SQM statement type
All Known Implementing Classes:
SqmTranslationRequest.Mutation, SqmTranslationRequest.Select

@SPI(USE) public sealed interface SqmTranslationRequest<S extends SqmStatement<?>> permits SqmTranslationRequest.Select, SqmTranslationRequest.Mutation

The complete supported input for creating one SQM-to-SQL-AST translator.

A SqmTranslatorFactory consumes the matching request subtype and returns a fresh translator for it. Factories and translators must not retain a request after that translation.

Since:
8.0
  • Method Details

    • statement

      S statement()
      The SQM statement to translate.
    • queryOptions

      QueryOptions queryOptions()
      Query options effective for this translation.
    • parameterMapping

      SqmParameterMapping parameterMapping()
      The parameter correlations belonging to the SQM statement.
    • parameterBindings

      QueryParameterBindings parameterBindings()
      The current domain query parameter bindings.
    • loadQueryInfluencers

      LoadQueryInfluencers loadQueryInfluencers()
      Load and fetch-plan influences effective for this translation.
    • creationContext

      SqlAstCreationContext creationContext()
      Mapping-model and SessionFactory services used to create the SQL AST.
    • deduplicateSelectionItems

      default boolean deduplicateSelectionItems()
      Whether duplicate select items may be removed during translation.