Class OrderByFragmentTranslator.StandardOrderByTranslationImpl

    • Constructor Detail

      • StandardOrderByTranslationImpl

        public StandardOrderByTranslationImpl​(String sqlTemplate,
                                              Set<String> columnReferences)
    • Method Detail

      • 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.