Interface OrderByExpression

  • All Superinterfaces:
    CommonExpression, Visitable

    public interface OrderByExpression
    extends CommonExpression
    Represents a $orderby expression Used to define the root expression node in an $filter expression tree.
    • Method Detail

      • getExpressionString

        String getExpressionString()
        Returns:
        Returns the $filter expression string used to build the expression tree
      • getOrders

        List<OrderExpression> getOrders()
        Returns:
        Returns a ordered list of order expressions contained in the $orderby expression string

        For example: The orderby expression build from "$orderby=name asc, age desc" would contain to order expression.

      • getOrdersCount

        int getOrdersCount()
        Returns:
        Returns the count of order expressions contained in the $orderby expression string