Package org.hibernate.sql.ordering.antlr
Class OrderByFragmentTranslator
- java.lang.Object
-
- org.hibernate.sql.ordering.antlr.OrderByFragmentTranslator
-
public class OrderByFragmentTranslator extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrderByFragmentTranslator.StandardOrderByTranslationImpl
-
Constructor Summary
Constructors Constructor Description OrderByFragmentTranslator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrderByTranslation
translate(TranslationContext context, java.lang.String fragment)
Perform the translation of the user-supplied fragment, returning the translation.
-
-
-
Method Detail
-
translate
public static OrderByTranslation translate(TranslationContext context, java.lang.String fragment)
Perform the translation of the user-supplied fragment, returning the translation. The important distinction to this split between (1) translating and (2) resolving aliases is that both happen at different times- Parameters:
context
- Context giving access to delegates needed during translation.fragment
- The user-supplied order-by fragment- Returns:
- The translation.
-
-