Package org.hibernate.sql.ast
Interface SqlAstTranslatorFactory
-
- All Known Implementing Classes:
StandardSqlAstTranslatorFactory
public interface SqlAstTranslatorFactory
Factory for obtaining single-use SQL AST translators
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default SqlAstTranslator<JdbcOperationQueryDelete>
buildDeleteTranslator(SessionFactoryImplementor sessionFactory, DeleteStatement statement)
Deprecated, for removal: This API element is subject to removal in a future version.default SqlAstTranslator<JdbcOperationQueryInsert>
buildInsertTranslator(SessionFactoryImplementor sessionFactory, InsertStatement statement)
Deprecated, for removal: This API element is subject to removal in a future version.<O extends JdbcMutationOperation>
SqlAstTranslator<O>buildModelMutationTranslator(TableMutation<O> mutation, SessionFactoryImplementor sessionFactory)
Builds a single-use translator for dealing with model mutationsSqlAstTranslator<? extends JdbcOperationQueryMutation>
buildMutationTranslator(SessionFactoryImplementor sessionFactory, MutationStatement statement)
Builds a single-use mutation translatorSqlAstTranslator<JdbcOperationQuerySelect>
buildSelectTranslator(SessionFactoryImplementor sessionFactory, SelectStatement statement)
Builds a single-use select translatordefault SqlAstTranslator<JdbcOperationQueryUpdate>
buildUpdateTranslator(SessionFactoryImplementor sessionFactory, UpdateStatement statement)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
buildSelectTranslator
SqlAstTranslator<JdbcOperationQuerySelect> buildSelectTranslator(SessionFactoryImplementor sessionFactory, SelectStatement statement)
Builds a single-use select translator
-
buildMutationTranslator
SqlAstTranslator<? extends JdbcOperationQueryMutation> buildMutationTranslator(SessionFactoryImplementor sessionFactory, MutationStatement statement)
Builds a single-use mutation translator
-
buildDeleteTranslator
@Deprecated(forRemoval=true) default SqlAstTranslator<JdbcOperationQueryDelete> buildDeleteTranslator(SessionFactoryImplementor sessionFactory, DeleteStatement statement)
Deprecated, for removal: This API element is subject to removal in a future version.Builds a single-use delete translator
-
buildInsertTranslator
@Deprecated(forRemoval=true) default SqlAstTranslator<JdbcOperationQueryInsert> buildInsertTranslator(SessionFactoryImplementor sessionFactory, InsertStatement statement)
Deprecated, for removal: This API element is subject to removal in a future version.Builds a single-use insert-select translator
-
buildUpdateTranslator
@Deprecated(forRemoval=true) default SqlAstTranslator<JdbcOperationQueryUpdate> buildUpdateTranslator(SessionFactoryImplementor sessionFactory, UpdateStatement statement)
Deprecated, for removal: This API element is subject to removal in a future version.Builds a single-use update translator
-
buildModelMutationTranslator
<O extends JdbcMutationOperation> SqlAstTranslator<O> buildModelMutationTranslator(TableMutation<O> mutation, SessionFactoryImplementor sessionFactory)
Builds a single-use translator for dealing with model mutations
-
-