Interface OrderByFragment

All Known Implementing Classes:
OrderByFragmentImpl

@SPI({USE,IMPLEMENT}) public interface OrderByFragment

Applies a mapped collection ordering to a SQL AST.

Providers implementing this contract should apply only the ordering modeled by this fragment and should not retain the supplied creation state.

Since:
8.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(QuerySpec ast, TableGroup tableGroup, SqlAstCreationState creationState)
    Apply the ordering to the given SQL AST
  • Method Details

    • apply

      void apply(QuerySpec ast, TableGroup tableGroup, SqlAstCreationState creationState)
      Apply the ordering to the given SQL AST
      Parameters:
      ast - The SQL AST
      tableGroup - The TableGroup the order-by is applied "against"
      creationState - The SQL AST creation state