public class ComparisonBinaryExpression extends Expression
Modifier and Type | Class and Description |
---|---|
static class |
ComparisonBinaryExpression.NormalizedPredicate |
static class |
ComparisonBinaryExpression.Operator |
dataType, resolved
Constructor and Description |
---|
ComparisonBinaryExpression(ComparisonBinaryExpression.Operator operator,
Expression left,
Expression right) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> visitor,
C context) |
static ComparisonBinaryExpression |
equal(Expression left,
Expression right) |
boolean |
equals(Object other) |
List<Expression> |
getChildren() |
ComparisonBinaryExpression.Operator |
getComparisonType() |
Expression |
getLeft() |
Expression |
getRight() |
static ComparisonBinaryExpression |
greaterEqual(Expression left,
Expression right) |
static ComparisonBinaryExpression |
greaterThan(Expression left,
Expression right) |
int |
hashCode() |
static ComparisonBinaryExpression |
lessEqual(Expression left,
Expression right) |
static ComparisonBinaryExpression |
lessThan(Expression left,
Expression right) |
ComparisonBinaryExpression.NormalizedPredicate |
normalize() |
static ComparisonBinaryExpression |
notEqual(Expression left,
Expression right) |
String |
toString() |
getDataType, isResolved, setDataType
public ComparisonBinaryExpression(ComparisonBinaryExpression.Operator operator, Expression left, Expression right)
public static ComparisonBinaryExpression equal(Expression left, Expression right)
public static ComparisonBinaryExpression notEqual(Expression left, Expression right)
public static ComparisonBinaryExpression lessThan(Expression left, Expression right)
public static ComparisonBinaryExpression lessEqual(Expression left, Expression right)
public static ComparisonBinaryExpression greaterThan(Expression left, Expression right)
public static ComparisonBinaryExpression greaterEqual(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 ComparisonBinaryExpression.Operator getComparisonType()
public ComparisonBinaryExpression.NormalizedPredicate normalize()
Copyright © 2024 PingCAP. All rights reserved.