org.hibernate.sql.ordering.antlr.TranslationContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.sql.ordering.antlr;
import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.function.SQLFunctionRegistry;
import org.hibernate.engine.spi.SessionFactoryImplementor;
/**
* Contract for contextual information required to perform translation.
*
* @author Steve Ebersole
*/
public interface TranslationContext {
/**
* Retrieves the session factory for this context.
*
* @return The session factory
*/
public SessionFactoryImplementor getSessionFactory();
/**
* Retrieves the dialect for this context.
*
* @return The dialect
*/
public Dialect getDialect();
/**
* Retrieves the SQL function registry for this context.
*
* @return The SQL function registry.
*/
public SQLFunctionRegistry getSqlFunctionRegistry();
/**
* Retrieves the column mapper for this context.
*
* @return The column mapper
*/
public ColumnMapper getColumnMapper();
}