Package | Description |
---|---|
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. |
Modifier and Type | Interface and Description |
---|---|
interface |
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. for "and", "div", "eg", ... )
|
interface |
FilterExpression
Represents a $filter expression in the expression tree
Used to define the root expression node in an $filter expression tree.
|
interface |
LiteralExpression
Represents a literal expression node in the expression tree
A literal expression node is inserted in the expression tree for any token witch is no valid operator, method or property. |
interface |
MemberExpression
Represents a member expression in the expression tree
A member expression node is inserted in the expression tree for any member operator ("/") which is used to reference a property of an complex type or entity type. |
interface |
MethodExpression
Represents a method expression in the expression tree
A method expression node is inserted in the expression tree for any valid OData method operator in MethodOperator (e.g. for "substringof", "concat", "year", ... )
|
interface |
OrderByExpression
Represents a $orderby expression
Used to define the root expression node in an $filter expression tree.
|
interface |
OrderExpression
Represents a order expression in the expression tree
A order expression node is inserted in the expression tree for any valid OData order. |
interface |
PropertyExpression
Represents a property expression in the expression tree
A property expression node is inserted in the expression tree for any property. |
interface |
UnaryExpression
Represents a unary expression node in the expression tree
A unary expression node is inserted in the expression tree for any valid ODATA unary operator in UnaryOperator (e.g. for "not or "-" )
|
Modifier and Type | Method and Description |
---|---|
CommonExpression |
FilterExpression.getExpression() |
CommonExpression |
OrderExpression.getExpression() |
CommonExpression |
ExceptionVisitExpression.getFilterTree()
Get erroneous filter for debug information
|
CommonExpression |
ExpressionParserException.getFilterTree()
Gets erroneous filter expression tree for debug information.
|
CommonExpression |
BinaryExpression.getLeftOperand() |
CommonExpression |
UnaryExpression.getOperand() |
CommonExpression |
MemberExpression.getPath() |
CommonExpression |
MemberExpression.getProperty() |
CommonExpression |
BinaryExpression.getRightOperand() |
CommonExpression |
CommonExpression.setEdmType(EdmType edmType)
Set the edmType of this expression node
|
Modifier and Type | Method and Description |
---|---|
List<CommonExpression> |
MethodExpression.getParameters() |
Modifier and Type | Method and Description |
---|---|
void |
ExceptionVisitExpression.setFilterTree(CommonExpression filterTree)
Sets erroneous filter tree for debug information.
|
void |
ExpressionParserException.setFilterTree(CommonExpression filterTree)
Sets erroneous filter tree for debug information.
|
Copyright © 2013-2019 The Apache Software Foundation. All Rights Reserved.