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