net.sf.farrago.fennel.rel
Class CalcRelSplitter.InputToCommonExprConverter
java.lang.Object
org.eigenbase.rex.RexShuttle
net.sf.farrago.fennel.rel.CalcRelSplitter.InputToCommonExprConverter
- All Implemented Interfaces:
- RexVisitor<RexNode>
- Enclosing class:
- CalcRelSplitter
private static class CalcRelSplitter.InputToCommonExprConverter
- extends RexShuttle
Shuttle which converts every reference to an input field in an expression
to a reference to a common sub-expression.
Methods inherited from class org.eigenbase.rex.RexShuttle |
apply, apply, visitArray, visitCall, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitLiteral, visitOver, visitRangeRef, visitWindow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exprInverseOrdinals
private final int[] exprInverseOrdinals
exprLevels
private final int[] exprLevels
level
private final int level
inputExprOrdinals
private final int[] inputExprOrdinals
CalcRelSplitter.InputToCommonExprConverter
public CalcRelSplitter.InputToCommonExprConverter(int[] exprInverseOrdinals,
int[] exprLevels,
int level,
int[] inputExprOrdinals)
visitInputRef
public RexNode visitInputRef(RexInputRef input)
- Specified by:
visitInputRef
in interface RexVisitor<RexNode>
- Overrides:
visitInputRef
in class RexShuttle
visitLocalRef
public RexNode visitLocalRef(RexLocalRef local)
- Specified by:
visitLocalRef
in interface RexVisitor<RexNode>
- Overrides:
visitLocalRef
in class RexShuttle