Top Description Fields Constructors Methods
org.hibernate.sql.ordering.antlr

public Class OrderByFragmentTranslator

extends Object
Class Inheritance
Imports
java.io.StringReader, org.slf4j.Logger, .LoggerFactory, org.hibernate.HibernateException, org.hibernate.hql.ast.util.ASTPrinter

A translator which coordinates translation of an order-by mapping.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public final TranslationContext
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The translated fragment.
render
(String
The order-by mapping fragment to be translated.
fragment
)

The main contract, performing the transaction.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contextback to summary
public final TranslationContext context
logback to summary
private static final Logger log

Constructor Detail

OrderByFragmentTranslatorback to summary
public OrderByFragmentTranslator(TranslationContext context)

Method Detail

renderback to summary
public String render(String fragment)

The main contract, performing the transaction.

Parameters
fragment:String

The order-by mapping fragment to be translated.

Returns:String

The translated fragment.