Package org.hibernate.sql.ordering.antlr
Class OrderByFragmentTranslator.StandardOrderByTranslationImpl
- java.lang.Object
-
- org.hibernate.sql.ordering.antlr.OrderByFragmentTranslator.StandardOrderByTranslationImpl
-
- All Implemented Interfaces:
OrderByTranslation
- Enclosing class:
- OrderByFragmentTranslator
public static class OrderByFragmentTranslator.StandardOrderByTranslationImpl extends Object implements OrderByTranslation
-
-
Constructor Summary
Constructors Constructor Description StandardOrderByTranslationImpl(String sqlTemplate, Set<String> columnReferences)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringinjectAliases(OrderByAliasResolver aliasResolver)Inject table aliases into the translated fragment to properly qualify column references, using the given 'aliasResolver' to determine the the proper table alias to use for each column reference.
-
-
-
Method Detail
-
injectAliases
public String injectAliases(OrderByAliasResolver aliasResolver)
Description copied from interface:OrderByTranslationInject table aliases into the translated fragment to properly qualify column references, using the given 'aliasResolver' to determine the the proper table alias to use for each column reference.- Specified by:
injectAliasesin interfaceOrderByTranslation- Parameters:
aliasResolver- The strategy to resolver the proper table alias to use per column- Returns:
- The fully translated and replaced fragment.
-
-