Package org.hibernate.query.sqm.sql
Interface SqmTranslatorFactory
- All Known Implementing Classes:
StandardSqmTranslatorFactory
public interface SqmTranslatorFactory
Factory for various
-
Method Summary
Modifier and TypeMethodDescriptiondefault SqmTranslator<InsertStatement>
createInsertTranslator
(SqmInsertStatement<?> sqmInsertStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version.SqmTranslator<? extends MutationStatement>
createMutationTranslator
(SqmDmlStatement<?> sqmDeleteStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) createSelectTranslator
(SqmSelectStatement<?> sqmSelectStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) default SqmTranslator<DeleteStatement>
createSimpleDeleteTranslator
(SqmDeleteStatement<?> sqmDeleteStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version.default SqmTranslator<UpdateStatement>
createSimpleUpdateTranslator
(SqmUpdateStatement<?> sqmUpdateStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
createSelectTranslator
SqmTranslator<SelectStatement> createSelectTranslator(SqmSelectStatement<?> sqmSelectStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext, boolean deduplicateSelectionItems) -
createMutationTranslator
SqmTranslator<? extends MutationStatement> createMutationTranslator(SqmDmlStatement<?> sqmDeleteStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) -
createSimpleDeleteTranslator
@Deprecated(forRemoval=true) default SqmTranslator<DeleteStatement> createSimpleDeleteTranslator(SqmDeleteStatement<?> sqmDeleteStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version. -
createInsertTranslator
@Deprecated(forRemoval=true) default SqmTranslator<InsertStatement> createInsertTranslator(SqmInsertStatement<?> sqmInsertStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version. -
createSimpleUpdateTranslator
@Deprecated(forRemoval=true) default SqmTranslator<UpdateStatement> createSimpleUpdateTranslator(SqmUpdateStatement<?> sqmUpdateStatement, QueryOptions queryOptions, DomainParameterXref domainParameterXref, QueryParameterBindings domainParameterBindings, LoadQueryInfluencers loadQueryInfluencers, SqlAstCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version.
-
createMutationTranslator(SqmDmlStatement, QueryOptions, DomainParameterXref, QueryParameterBindings, LoadQueryInfluencers, SqlAstCreationContext)
instead