Package org.hibernate.sql.ast.spi
Class StandardSqlAstTranslatorFactory
- java.lang.Object
-
- org.hibernate.sql.ast.spi.StandardSqlAstTranslatorFactory
-
- All Implemented Interfaces:
SqlAstTranslatorFactory
public class StandardSqlAstTranslatorFactory extends Object implements SqlAstTranslatorFactory
Standard implementation of SqlAstTranslatorFactory
-
-
Constructor Summary
Constructors Constructor Description StandardSqlAstTranslatorFactory()
-
Method Summary
-
-
-
Method Detail
-
buildSelectTranslator
public SqlAstTranslator<JdbcOperationQuerySelect> buildSelectTranslator(SessionFactoryImplementor sessionFactory, SelectStatement statement)
Description copied from interface:SqlAstTranslatorFactory
Builds a single-use select translator- Specified by:
buildSelectTranslator
in interfaceSqlAstTranslatorFactory
-
buildMutationTranslator
public SqlAstTranslator<? extends JdbcOperationQueryMutation> buildMutationTranslator(SessionFactoryImplementor sessionFactory, MutationStatement statement)
Description copied from interface:SqlAstTranslatorFactory
Builds a single-use mutation translator- Specified by:
buildMutationTranslator
in interfaceSqlAstTranslatorFactory
-
buildDeleteTranslator
public SqlAstTranslator<JdbcOperationQueryDelete> buildDeleteTranslator(SessionFactoryImplementor sessionFactory, DeleteStatement statement)
Description copied from interface:SqlAstTranslatorFactory
Builds a single-use delete translator- Specified by:
buildDeleteTranslator
in interfaceSqlAstTranslatorFactory
-
buildInsertTranslator
public SqlAstTranslator<JdbcOperationQueryInsert> buildInsertTranslator(SessionFactoryImplementor sessionFactory, InsertStatement statement)
Description copied from interface:SqlAstTranslatorFactory
Builds a single-use insert-select translator- Specified by:
buildInsertTranslator
in interfaceSqlAstTranslatorFactory
-
buildUpdateTranslator
public SqlAstTranslator<JdbcOperationQueryUpdate> buildUpdateTranslator(SessionFactoryImplementor sessionFactory, UpdateStatement statement)
Description copied from interface:SqlAstTranslatorFactory
Builds a single-use update translator- Specified by:
buildUpdateTranslator
in interfaceSqlAstTranslatorFactory
-
buildModelMutationTranslator
public <O extends JdbcMutationOperation> SqlAstTranslator<O> buildModelMutationTranslator(TableMutation<O> mutation, SessionFactoryImplementor sessionFactory)
Description copied from interface:SqlAstTranslatorFactory
Builds a single-use translator for dealing with model mutations- Specified by:
buildModelMutationTranslator
in interfaceSqlAstTranslatorFactory
-
buildTranslator
protected <T extends JdbcOperation> SqlAstTranslator<T> buildTranslator(SessionFactoryImplementor sessionFactory, Statement statement)
Consolidated building of a translator for all Query cases
-
-