Package org.apache.olingo.odata2.api.uri.expression
Expression Parser
This package contains all classes necessary to decribe an expression tree(e.g. a filter or order by tree)
Trees can be traversed by implementing the ExpressionVisitor
interface and calling the accept() method.
Different types of expressions can be found in ExpressionKind
.
-
Interface Summary Interface Description BinaryExpression Represents a binary expression node in the expression tree returned by the methods
A binary expression node is inserted in the expression tree for any valid ODATA binary operator inBinaryOperator(e.g.CommonExpression Parent class of all classes used to build the expression tree
ExpressionVisitor InterfaceExpressionVisitoris used to traverse a $filter or $orderby expression tree.FilterExpression Represents a $filter expression in the expression tree Used to define the root expression node in an $filter expression tree.LiteralExpression Represents a literal expression node in the expression tree
MemberExpression Represents a member expression in the expression tree
MethodExpression Represents a method expression in the expression tree
OrderByExpression Represents a $orderby expression Used to define the root expression node in an $filter expression tree.OrderExpression Represents a order expression in the expression tree
PropertyExpression Represents a property expression in the expression tree
UnaryExpression Represents a unary expression node in the expression tree
Visitable The interfaceVisitableis part of the visitor pattern used to traverse the expression tree build from a $filter expression string or $orderby expression string. -
Enum Summary Enum Description BinaryOperator Enumerations for supported binary operators of the ODATA expression parser for ODATA version 2.0 (with some restrictions)ExpressionKind Enumeration describing all possible node types inside an expression treeMethodOperator Enumerations for all supported methods of the ODATA expression parser for ODATA version 2.0 (with some restrictions).SortOrder Enumeration describing all possible sort orders used in an $orderby expressionUnaryOperator Enumerations for supported unary operators of the OData expression parser for OData version 2.0 -
Exception Summary Exception Description ExceptionVisitExpression Exception thrown while traversing/visiting a filter expression treeExpressionParserException Exception thrown while parsing a filter or orderby expression