public interface Orders
Collection of methods used to specify Orders for PipelineStage.sortBy(Function) stage.
Since:
14.0 - Caribou Lou
  • Method Details

    • ascNullsFirst

      Orders.Order ascNullsFirst(Expression e)
      Builds an ascending order with nulls values evaluated as the lowest value.
      Parameters:
      e - the expression on which is defined the order
      Returns:
      the built order
      Since:
      14.0 - Caribou Lou
    • ascNullsLast

      Orders.Order ascNullsLast(Expression e)
      Builds an ascending order with nulls values evaluated as the highest value.
      Parameters:
      e - the expression on which is defined the order
      Returns:
      the built order
      Since:
      14.0 - Caribou Lou
    • descNullsFirst

      Orders.Order descNullsFirst(Expression e)
      Builds a descending order with nulls values evaluated as the lowest value.
      Parameters:
      e - the expression on which is defined the order
      Returns:
      the built order
      Since:
      14.0 - Caribou Lou
    • descNullsLast

      Orders.Order descNullsLast(Expression e)
      Builds a descending order with nulls values evaluated as the highest value.
      Parameters:
      e - the expression on which is defined the order
      Returns:
      the built order
      Since:
      14.0 - Caribou Lou