org.apache.olingo.odata2.api.uri.expression
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.
| Methods inherited from interface org.apache.olingo.odata2.api.uri.expression.Visitable |
accept |
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
Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.