T - Return typepublic interface ExpressionVisitor<T>
| Modifier and Type | Method and Description | 
|---|---|
| T | visitAlias(String aliasName)Called for each traversed  Aliasexpression | 
| T | visitBinaryOperator(BinaryOperatorKind operator,
                   T left,
                   List<T> right)Called for each traversed  Binaryexpression | 
| T | visitBinaryOperator(BinaryOperatorKind operator,
                   T left,
                   T right)Called for each traversed  Binaryexpression | 
| default T | visitComputeAggregate(AggregateExpression aggregateExpr)Called for each traversed  AggregateExpression | 
| T | visitEnum(EdmEnumType type,
         List<String> enumValues)Called for each traversed  Enumerationexpression | 
| 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  Literalexpression | 
| T | visitMember(Member member)Called for each traversed  Memberexpression | 
| T | visitMethodCall(MethodKind methodCall,
               List<T> parameters)Called for each traversed  Methodexpression | 
| T | visitTypeLiteral(EdmType type)Called for each traversed  TypeLiteralexpression | 
| T | visitUnaryOperator(UnaryOperatorKind operator,
                  T operand)Called for each traversed  Unaryexpression | 
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 occurredODataApplicationException - 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 occurredODataApplicationException - 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 occurredODataApplicationException - Thrown by the applicationT visitLiteral(Literal literal) throws ExpressionVisitException, ODataApplicationException
Literal expressionliteral - LiteralExpressionVisitException - Thrown if an exception while traversing occurredODataApplicationException - 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 occurredODataApplicationException - Thrown by the applicationT visitAlias(String aliasName) throws ExpressionVisitException, ODataApplicationException
Alias expressionaliasName - Name of the aliasExpressionVisitException - Thrown if an exception while traversing occurredODataApplicationException - Thrown by the applicationT visitTypeLiteral(EdmType type) throws ExpressionVisitException, ODataApplicationException
TypeLiteral expressiontype - EdmTypeExpressionVisitException - Thrown if an exception while traversing occurredODataApplicationException - Thrown by the applicationT visitLambdaReference(String variableName) throws ExpressionVisitException, ODataApplicationException
LambdaRefvariableName - Name of the used lambda variableExpressionVisitException - Thrown if an exception while traversing occurredODataApplicationException - 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 occurredODataApplicationException - Thrown by the applicationT visitBinaryOperator(BinaryOperatorKind operator, T left, List<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 occurredODataApplicationException - Thrown by the applicationdefault T visitComputeAggregate(AggregateExpression aggregateExpr) throws ExpressionVisitException, ODataApplicationException
AggregateExpressionaggregateExpr - the  aggregate expressionExpressionVisitException - Thrown if an exception while traversing occurredODataApplicationException - Thrown by the applicationCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.