public class BinaryImpl extends Object implements Binary
| Constructor and Description |
|---|
BinaryImpl(Expression left,
BinaryOperatorKind operator,
Expression right,
EdmType type) |
BinaryImpl(Expression left,
BinaryOperatorKind operator,
List<Expression> right,
EdmType type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ExpressionVisitor<T> visitor)
Method
VisitableExpression.accept(ExpressionVisitor) is called when traversing the expression tree. |
List<Expression> |
getExpressions() |
Expression |
getLeftOperand() |
BinaryOperatorKind |
getOperator() |
Expression |
getRightOperand() |
EdmType |
getType() |
String |
toString() |
public BinaryImpl(Expression left, BinaryOperatorKind operator, Expression right, EdmType type)
public BinaryImpl(Expression left, BinaryOperatorKind operator, List<Expression> right, EdmType type)
public BinaryOperatorKind getOperator()
getOperator in interface BinaryBinaryOperatorKindpublic Expression getLeftOperand()
getLeftOperand in interface Binarypublic Expression getRightOperand()
getRightOperand in interface Binarypublic EdmType getType()
public <T> T accept(ExpressionVisitor<T> visitor) throws ExpressionVisitException, ODataApplicationException
VisitableExpressionVisitableExpression.accept(ExpressionVisitor) is called when traversing the expression tree. This method is invoked on
each expression used as node in an expression tree. The implementations should
behave as follows:
ExpressionVisitor instance and provide the stored return objects
to that instance
accept in interface VisitableExpressionvisitor - Visitor object (implementing ExpressionVisitor) whose methods are called during traversing a
expression node of the expression tree.ExpressionVisitException - Exception occurred in the OData library while traversing the treeODataApplicationException - Exception thrown by the application who implemented the visitorpublic List<Expression> getExpressions()
getExpressions in interface BinaryCopyright © 2023. All rights reserved.