All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.sql.ordering.antlr.TranslationContext Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * 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/tt> 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy