R - Return type from each visitXxx method.public class RexVisitorImpl<R> extends Object implements RexVisitor<R>
RexVisitor, which visits each node but does
nothing while it's there.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
deep |
| Modifier | Constructor and Description |
|---|---|
protected |
RexVisitorImpl(boolean deep) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
visitArrayAnd(RexVisitor<Boolean> visitor,
List<RexNode> exprs)
Visits an array of expressions, returning the logical 'and' of their
results.
|
static boolean |
visitArrayOr(RexVisitor<Boolean> visitor,
List<RexNode> exprs)
Visits an array of expressions, returning the logical 'or' of their
results.
|
R |
visitCall(RexCall call) |
R |
visitCorrelVariable(RexCorrelVariable correlVariable) |
R |
visitDynamicParam(RexDynamicParam dynamicParam) |
R |
visitFieldAccess(RexFieldAccess fieldAccess) |
R |
visitInputRef(RexInputRef inputRef) |
R |
visitLiteral(RexLiteral literal) |
R |
visitLocalRef(RexLocalRef localRef) |
R |
visitOver(RexOver over) |
R |
visitRangeRef(RexRangeRef rangeRef) |
public R visitInputRef(RexInputRef inputRef)
visitInputRef in interface RexVisitor<R>public R visitLocalRef(RexLocalRef localRef)
visitLocalRef in interface RexVisitor<R>public R visitLiteral(RexLiteral literal)
visitLiteral in interface RexVisitor<R>public R visitOver(RexOver over)
visitOver in interface RexVisitor<R>public R visitCorrelVariable(RexCorrelVariable correlVariable)
visitCorrelVariable in interface RexVisitor<R>public R visitCall(RexCall call)
visitCall in interface RexVisitor<R>public R visitDynamicParam(RexDynamicParam dynamicParam)
visitDynamicParam in interface RexVisitor<R>public R visitRangeRef(RexRangeRef rangeRef)
visitRangeRef in interface RexVisitor<R>public R visitFieldAccess(RexFieldAccess fieldAccess)
visitFieldAccess in interface RexVisitor<R>public static boolean visitArrayAnd(RexVisitor<Boolean> visitor, List<RexNode> exprs)
Visits an array of expressions, returning the logical 'and' of their results.
If any of them returns false, returns false immediately; if they all return true, returns true.
public static boolean visitArrayOr(RexVisitor<Boolean> visitor, List<RexNode> exprs)
Visits an array of expressions, returning the logical 'or' of their results.
If any of them returns true, returns true immediately; if they all return false, returns false.
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.