Interface OrderExpression
- All Superinterfaces:
CommonExpression,Visitable
- All Known Implementing Classes:
OrderExpressionImpl
Represents a order expression in the expression tree
A order expression node is inserted in the expression tree for any valid
OData order. For example for "$orderby=age desc, name asc" two order expression node
will be inserted into the expression tree
-
Method Summary
Methods inherited from interface org.apache.olingo.odata2.api.uri.expression.CommonExpression
getEdmType, getKind, getUriLiteral, setEdmType
-
Method Details
-
getSortOrder
SortOrder getSortOrder()- Returns:
- Returns the sort order (ascending or descending) of the order expression
-
getExpression
CommonExpression getExpression()- Returns:
- Returns the expression node which defines the data used to order the output
send back to the client. In the simplest case this would be a
PropertyExpression. - See Also:
-