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 java.lang.Object implements OrderByTranslation
-
-
Constructor Summary
Constructors Constructor Description StandardOrderByTranslationImpl(java.lang.String sqlTemplate, java.util.Set<java.lang.String> columnReferences)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
injectAliases(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 java.lang.String injectAliases(OrderByAliasResolver aliasResolver)
Description copied from interface:OrderByTranslation
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.- Specified by:
injectAliases
in interfaceOrderByTranslation
- Parameters:
aliasResolver
- The strategy to resolver the proper table alias to use per column- Returns:
- The fully translated and replaced fragment.
-
-