T
- Return typepublic interface ExpressionVisitor<T>
Modifier and Type | Method and Description |
---|---|
T |
visitAlias(String aliasName)
Called for each traversed
Alias expression |
T |
visitBinaryOperator(BinaryOperatorKind operator,
T left,
T right)
Called for each traversed
Binary expression |
T |
visitEnum(EdmEnumType type,
List<String> enumValues)
Called for each traversed
Enumeration expression |
T |
visitLambdaExpression(String lambdaFunction,
String lambdaVariable,
Expression expression)
Called for each traversed lambda expression
|
T |
visitLambdaReference(String variableName)
Called for each traversed
LambdaRef |
T |
visitLiteral(Literal literal)
Called for each traversed
Literal expression |
T |
visitMember(Member member)
Called for each traversed
Member expression |
T |
visitMethodCall(MethodKind methodCall,
List<T> parameters)
Called for each traversed
Method expression |
T |
visitTypeLiteral(EdmType type)
Called for each traversed
TypeLiteral expression |
T |
visitUnaryOperator(UnaryOperatorKind operator,
T operand)
Called for each traversed
Unary expression |
T visitBinaryOperator(BinaryOperatorKind operator, T left, T right) throws ExpressionVisitException, ODataApplicationException
Binary
expressionoperator
- Operator kindleft
- Application return value of left sub treeright
- Application return value of right sub treeExpressionVisitException
- Thrown if an exception while traversing occuredODataApplicationException
- Thrown by the applicationT visitUnaryOperator(UnaryOperatorKind operator, T operand) throws ExpressionVisitException, ODataApplicationException
Unary
expressionoperator
- Operator kindoperand
- return value of sub treeExpressionVisitException
- Thrown if an exception while traversing occuredODataApplicationException
- Thrown by the applicationT visitMethodCall(MethodKind methodCall, List<T> parameters) throws ExpressionVisitException, ODataApplicationException
Method
expressionmethodCall
- Methodparameters
- List of application return values created by visiting each method parameterExpressionVisitException
- Thrown if an exception while traversing occurredODataApplicationException
- Thrown by the applicationT visitLambdaExpression(String lambdaFunction, String lambdaVariable, Expression expression) throws ExpressionVisitException, ODataApplicationException
lambdaFunction
- "ALL" or "ANY"lambdaVariable
- Variable name used lambda variableexpression
- Lambda expressionExpressionVisitException
- Thrown if an exception while traversing occuredODataApplicationException
- Thrown by the applicationT visitLiteral(Literal literal) throws ExpressionVisitException, ODataApplicationException
Literal
expressionliteral
- LiteralExpressionVisitException
- Thrown if an exception while traversing occuredODataApplicationException
- Thrown by the applicationT visitMember(Member member) throws ExpressionVisitException, ODataApplicationException
Member
expressionmember
- UriInfoResource object describing the whole path used to access an data value
(this includes for example the usage of $root and $it inside the URI)ExpressionVisitException
- Thrown if an exception while traversing occuredODataApplicationException
- Thrown by the applicationT visitAlias(String aliasName) throws ExpressionVisitException, ODataApplicationException
Alias
expressionaliasName
- Name of the aliasExpressionVisitException
- Thrown if an exception while traversing occuredODataApplicationException
- Thrown by the applicationT visitTypeLiteral(EdmType type) throws ExpressionVisitException, ODataApplicationException
TypeLiteral
expressiontype
- EdmTypeExpressionVisitException
- Thrown if an exception while traversing occuredODataApplicationException
- Thrown by the applicationT visitLambdaReference(String variableName) throws ExpressionVisitException, ODataApplicationException
LambdaRef
variableName
- Name of the used lambda variableExpressionVisitException
- Thrown if an exception while traversing occuredODataApplicationException
- Thrown by the applicationT visitEnum(EdmEnumType type, List<String> enumValues) throws ExpressionVisitException, ODataApplicationException
Enumeration
expressiontype
- Type used in the URI before the enumeration valuesenumValues
- List of enumeration valuesExpressionVisitException
- Thrown if an exception while traversing occuredODataApplicationException
- Thrown by the applicationCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.