public class HanaExpressionVisitor extends Object implements org.apache.olingo.odata2.api.uri.expression.ExpressionVisitor
| Modifier and Type | Field and Description |
|---|---|
static String |
ARITHMETIC_DIVISION |
static String |
ERROR_MSG |
| Constructor and Description |
|---|
HanaExpressionVisitor(org.apache.olingo.odata2.api.edm.EdmEntitySet targetEntitySet,
boolean isDraft) |
| Modifier and Type | Method and Description |
|---|---|
Object |
visitBinary(org.apache.olingo.odata2.api.uri.expression.BinaryExpression binaryExpression,
org.apache.olingo.odata2.api.uri.expression.BinaryOperator operator,
Object leftSide,
Object rightSide) |
Object |
visitFilterExpression(org.apache.olingo.odata2.api.uri.expression.FilterExpression filterExpression,
String expressionString,
Object expression) |
Object |
visitLiteral(org.apache.olingo.odata2.api.uri.expression.LiteralExpression literal,
org.apache.olingo.odata2.api.edm.EdmLiteral edmLiteral) |
Object |
visitMember(org.apache.olingo.odata2.api.uri.expression.MemberExpression memberExpression,
Object path,
Object property)
This method executed for expression tree for any member operator ("/") which
is used to reference a property of an complex type or entity type.
|
Object |
visitMethod(org.apache.olingo.odata2.api.uri.expression.MethodExpression methodExpression,
org.apache.olingo.odata2.api.uri.expression.MethodOperator method,
List<Object> parameters) |
Object |
visitOrder(org.apache.olingo.odata2.api.uri.expression.OrderExpression orderExpression,
Object filterResult,
org.apache.olingo.odata2.api.uri.expression.SortOrder sortOrder) |
Object |
visitOrderByExpression(org.apache.olingo.odata2.api.uri.expression.OrderByExpression orderByExpression,
String expressionString,
List<Object> orders) |
Object |
visitProperty(org.apache.olingo.odata2.api.uri.expression.PropertyExpression propertyExpression,
String uriLiteral,
org.apache.olingo.odata2.api.edm.EdmTyped edmProperty) |
Object |
visitUnary(org.apache.olingo.odata2.api.uri.expression.UnaryExpression unaryExpression,
org.apache.olingo.odata2.api.uri.expression.UnaryOperator operator,
Object operand) |
public static final String ERROR_MSG
public static final String ARITHMETIC_DIVISION
public HanaExpressionVisitor(org.apache.olingo.odata2.api.edm.EdmEntitySet targetEntitySet,
boolean isDraft)
public Object visitFilterExpression(org.apache.olingo.odata2.api.uri.expression.FilterExpression filterExpression, String expressionString, Object expression)
visitFilterExpression in interface org.apache.olingo.odata2.api.uri.expression.ExpressionVisitorpublic Object visitBinary(org.apache.olingo.odata2.api.uri.expression.BinaryExpression binaryExpression, org.apache.olingo.odata2.api.uri.expression.BinaryOperator operator, Object leftSide, Object rightSide)
visitBinary in interface org.apache.olingo.odata2.api.uri.expression.ExpressionVisitorpublic Object visitLiteral(org.apache.olingo.odata2.api.uri.expression.LiteralExpression literal, org.apache.olingo.odata2.api.edm.EdmLiteral edmLiteral)
visitLiteral in interface org.apache.olingo.odata2.api.uri.expression.ExpressionVisitorpublic Object visitMethod(org.apache.olingo.odata2.api.uri.expression.MethodExpression methodExpression, org.apache.olingo.odata2.api.uri.expression.MethodOperator method, List<Object> parameters)
visitMethod in interface org.apache.olingo.odata2.api.uri.expression.ExpressionVisitorpublic Object visitMember(org.apache.olingo.odata2.api.uri.expression.MemberExpression memberExpression, Object path, Object property)
visitMember in interface org.apache.olingo.odata2.api.uri.expression.ExpressionVisitorpublic Object visitProperty(org.apache.olingo.odata2.api.uri.expression.PropertyExpression propertyExpression, String uriLiteral, org.apache.olingo.odata2.api.edm.EdmTyped edmProperty)
visitProperty in interface org.apache.olingo.odata2.api.uri.expression.ExpressionVisitorpublic Object visitUnary(org.apache.olingo.odata2.api.uri.expression.UnaryExpression unaryExpression, org.apache.olingo.odata2.api.uri.expression.UnaryOperator operator, Object operand)
visitUnary in interface org.apache.olingo.odata2.api.uri.expression.ExpressionVisitorpublic Object visitOrderByExpression(org.apache.olingo.odata2.api.uri.expression.OrderByExpression orderByExpression, String expressionString, List<Object> orders)
visitOrderByExpression in interface org.apache.olingo.odata2.api.uri.expression.ExpressionVisitorCopyright © 2020 SAP. All Rights Reserved.