|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.rex.RexVisitorImpl<R>
public class RexVisitorImpl<R>
Default implementation of RexVisitor
, which visits each node but does
nothing while it's there.
Field Summary | |
---|---|
protected boolean |
deep
|
Constructor Summary | |
---|---|
protected |
RexVisitorImpl(boolean deep)
|
Method Summary | |
---|---|
static boolean |
visitArrayAnd(RexVisitor<Boolean> visitor,
RexNode[] exprs)
Visits an array of expressions, returning the logical 'and' of their results. |
static boolean |
visitArrayOr(RexVisitor<Boolean> visitor,
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final boolean deep
Constructor Detail |
---|
protected RexVisitorImpl(boolean deep)
Method Detail |
---|
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, 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.
visitArrayOr(org.eigenbase.rex.RexVisitor, org.eigenbase.rex.RexNode[])
,
RexShuttle.visitArray(org.eigenbase.rex.RexNode[], boolean[])
public static boolean visitArrayOr(RexVisitor<Boolean> visitor, 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.
visitArrayAnd(org.eigenbase.rex.RexVisitor, org.eigenbase.rex.RexNode[])
,
RexShuttle.visitArray(org.eigenbase.rex.RexNode[], boolean[])
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |