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
public class OrderByParserImpl extends FilterParserImpl implements OrderByParser
-
-
Field Summary
-
Fields inherited from class org.apache.olingo.odata2.core.uri.expression.FilterParserImpl
availableBinaryOperators, availableMethods, availableUnaryOperators, curExpression, resourceEntityType, tokenList
-
-
Constructor Summary
Constructors Constructor Description OrderByParserImpl(EdmEntityType resourceEntityType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderByExpressionparseOrderByString(String orderByExpression)Parses a $orderby expression string and creates an $orderby expression tree-
Methods 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 Detail
-
OrderByParserImpl
public OrderByParserImpl(EdmEntityType resourceEntityType)
-
-
Method Detail
-
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
-
-