Interface SortSpec

All Known Implementing Classes:
ComparatorSortColumn, SortColumn

public interface SortSpec
A specification for sorting.

Note, that the engine is responsible for interpreting the SortSpec. The SortSpec is differentiated from SortColumn, because SortColumn is used in clients and many operations. The engine's sort operation may also take other implementations of SortSpec that provide additional details. Naive code that expects SortColumn may not correctly preserve the details.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The column name.
    default boolean
     
    The order.
  • Method Details

    • column

      ColumnName column()
      The column name.
      Returns:
      the column name
    • order

      The order.
      Returns:
      the order
    • isAscending

      default boolean isAscending()