Class OrderByParserImpl
java.lang.Object
org.apache.olingo.odata2.core.uri.expression.FilterParserImpl
org.apache.olingo.odata2.core.uri.expression.OrderByParserImpl
- All Implemented Interfaces:
FilterParser,OrderByParser
-
Field Summary
Fields inherited from class org.apache.olingo.odata2.core.uri.expression.FilterParserImpl
availableBinaryOperators, availableMethods, availableUnaryOperators, curExpression, resourceEntityType, tokenList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseOrderByString(String orderByExpression) Parses a $orderby expression string and creates an $orderby expression treeMethods inherited from class org.apache.olingo.odata2.core.uri.expression.FilterParserImpl
isMethod, isUnaryOperator, parseFilterString, parseFilterString, readBinaryOperator, readElement, readElement, readElements, readMethod, readParameters, readParenthesis, readUnaryoperator, validateBinaryOperatorTypes, validateEdmProperty, validateEdmPropertyOfStructuredType, validateMethodTypes, validateUnaryOperatorTypes
-
Constructor Details
-
OrderByParserImpl
-
-
Method Details
-
parseOrderByString
public OrderByExpression parseOrderByString(String orderByExpression) throws ExpressionParserException, ExpressionParserInternalError Description copied from interface:OrderByParserParses a $orderby expression string and creates an $orderby expression tree- Specified by:
parseOrderByStringin interfaceOrderByParser- Parameters:
orderByExpression- The $orderby expression string ( for example "name asc" ) to be parsed- Returns:
- The $orderby expression tree
- Throws:
ExpressionParserException- Exception thrown due to errors while parsing the $orderby expression stringExpressionParserInternalError
-