Interface OrderByExpression
- All Superinterfaces:
CommonExpression,Visitable
- All Known Implementing Classes:
OrderByExpressionImpl
Represents a $orderby expression
Used to define the root expression node in an $filter expression tree.
-
Method Summary
Modifier and TypeMethodDescriptionintMethods inherited from interface org.apache.olingo.odata2.api.uri.expression.CommonExpression
getEdmType, getKind, getUriLiteral, setEdmType
-
Method Details
-
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
-