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
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderByFragmentTranslator.StandardOrderByTranslationImpl
public OrderByFragmentTranslator.StandardOrderByTranslationImpl(String sqlTemplate,
Set<String> columnReferences)
injectAliases
public 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 interface OrderByTranslation
- Parameters:
aliasResolver
- The strategy to resolver the proper table alias to use per column
- Returns:
- The fully translated and replaced fragment.
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.