Search in sources :

Example 1 with LogicalBinaryExpression

use of com.pingcap.tikv.expression.LogicalBinaryExpression in project tispark by pingcap.

the class PartAndFilterExprRewriter method visit.

public Expression visit(LogicalBinaryExpression node, Void context) {
    Expression left = node.getLeft().accept(this, null);
    Expression right = node.getRight().accept(this, null);
    return new LogicalBinaryExpression(node.getCompType(), left, right);
}
Also used : LogicalBinaryExpression(com.pingcap.tikv.expression.LogicalBinaryExpression) ComparisonBinaryExpression(com.pingcap.tikv.expression.ComparisonBinaryExpression) LogicalBinaryExpression(com.pingcap.tikv.expression.LogicalBinaryExpression) Expression(com.pingcap.tikv.expression.Expression)

Aggregations

ComparisonBinaryExpression (com.pingcap.tikv.expression.ComparisonBinaryExpression)1 Expression (com.pingcap.tikv.expression.Expression)1 LogicalBinaryExpression (com.pingcap.tikv.expression.LogicalBinaryExpression)1