Package org.apache.olingo.odata2.api.uri.expression

Expression Parser

See:
          Description

Interface Summary
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 in BinaryOperator (e.g.
CommonExpression Parent class of all classes used to build the expression tree

ExpressionVisitor Interface ExpressionVisitor is 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 interface Visitable is part of the visitor pattern used to traverse the expression tree build from a $filter expression string or $orderby expression string.
 

Enum Summary
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 tree
MethodOperator 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 expression
UnaryOperator Enumerations for supported unary operators of the OData expression parser for OData version 2.0
 

Exception Summary
ExceptionVisitExpression Exception thrown while traversing/visiting a filter expression tree
ExpressionParserException Exception thrown while parsing a filter or orderby expression
 

Package org.apache.olingo.odata2.api.uri.expression Description

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 .



Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.