Interface OrderExpression<T>

  • Type Parameters:
    T - Java type of the expression being represented here

    public interface OrderExpression<T>
    Expression representing the ordering using an expression, a direction, and how to treat nulls.
    • Method Detail

      • nullsFirst

        OrderExpression<T> nullsFirst()
        Method to set nulls to be ordered BEFORE non-nulls.
        Returns:
        The order expression
      • nullsLast

        OrderExpression<T> nullsLast()
        Method to set nulls to be ordered AFTER non-nulls.
        Returns:
        The order expression
      • getNullsPosition

        OrderExpression.OrderNullsPosition getNullsPosition()
        Accessor for the position of nulls with this expression.
        Returns:
        The nulls position (or null if not defined)
      • getExpression

        Expression<T> getExpression()
        Accessor for the expression being used for ordering.
        Returns:
        Ordering expression