public class LogicalBinaryExpression extends Expression
Modifier and Type | Class and Description |
---|---|
static class |
LogicalBinaryExpression.Type |
dataType, resolved
Constructor and Description |
---|
LogicalBinaryExpression(LogicalBinaryExpression.Type type,
Expression left,
Expression right) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> visitor,
C context) |
static LogicalBinaryExpression |
and(Expression left,
Expression right) |
boolean |
equals(Object other) |
List<Expression> |
getChildren() |
LogicalBinaryExpression.Type |
getCompType() |
Expression |
getLeft() |
Expression |
getRight() |
int |
hashCode() |
static LogicalBinaryExpression |
or(Expression left,
Expression right) |
String |
toString() |
static LogicalBinaryExpression |
xor(Expression left,
Expression right) |
getDataType, isResolved, setDataType
public LogicalBinaryExpression(LogicalBinaryExpression.Type type, Expression left, Expression right)
public static LogicalBinaryExpression and(Expression left, Expression right)
public static LogicalBinaryExpression or(Expression left, Expression right)
public static LogicalBinaryExpression xor(Expression left, Expression right)
public List<Expression> getChildren()
getChildren
in class Expression
public <R,C> R accept(Visitor<R,C> visitor, C context)
accept
in class Expression
public Expression getLeft()
public Expression getRight()
public LogicalBinaryExpression.Type getCompType()
Copyright © 2024 PingCAP. All rights reserved.