public interface OrderBy
Specifies an order by clause.
See Also:
  • Method Details

    • orderByColumns

      List<OrderBy.OrderByColumn> orderByColumns()
      Returns:
      the order by columns comprising this order by clause
    • builder

      static OrderBy.Builder builder()
      Creates a OrderBy.Builder instance.
      Returns:
      a OrderBy.Builder instance
    • ascending

      static OrderBy ascending(Column<?>... columns)
      Parameters:
      columns - the columns to order by ascending
      Returns:
      a new ascending OrderBy instance based on the given columns
    • descending

      static OrderBy descending(Column<?>... columns)
      Parameters:
      columns - the columns to order by descending
      Returns:
      a new descending OrderBy instance based on the given columns