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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetExpressionString()List<OrderExpression>getOrders()intgetOrdersCount()-
Methods inherited from interface org.apache.olingo.odata2.api.uri.expression.CommonExpression
getEdmType, getKind, getUriLiteral, setEdmType
-
-
-
-
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
-
-