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