class RexCopier extends RexShuttle
This is useful when copying objects from one type factory or builder to another.
RexBuilder.copy(RexNode)
Modifier and Type | Field and Description |
---|---|
private RexBuilder |
builder |
Constructor and Description |
---|
RexCopier(RexBuilder builder)
Creates a RexCopier.
|
Modifier and Type | Method and Description |
---|---|
private RelDataType |
copy(RelDataType type) |
RexNode |
visitCall(RexCall call) |
RexNode |
visitCorrelVariable(RexCorrelVariable variable) |
RexNode |
visitDynamicParam(RexDynamicParam dynamicParam) |
RexNode |
visitFieldAccess(RexFieldAccess fieldAccess) |
RexNode |
visitInputRef(RexInputRef inputRef) |
RexNode |
visitLiteral(RexLiteral literal) |
RexNode |
visitLocalRef(RexLocalRef localRef) |
RexNode |
visitOver(RexOver over) |
RexNode |
visitRangeRef(RexRangeRef rangeRef) |
apply, apply, apply, mutate, visitArray, visitFieldCollations, visitList, visitList, visitPatternFieldRef, visitSubQuery, visitTableInputRef, visitWindow
private final RexBuilder builder
RexCopier(RexBuilder builder)
builder
- Builderprivate RelDataType copy(RelDataType type)
public RexNode visitOver(RexOver over)
visitOver
in interface RexVisitor<RexNode>
visitOver
in class RexShuttle
public RexNode visitCall(RexCall call)
visitCall
in interface RexVisitor<RexNode>
visitCall
in class RexShuttle
public RexNode visitCorrelVariable(RexCorrelVariable variable)
visitCorrelVariable
in interface RexVisitor<RexNode>
visitCorrelVariable
in class RexShuttle
public RexNode visitFieldAccess(RexFieldAccess fieldAccess)
visitFieldAccess
in interface RexVisitor<RexNode>
visitFieldAccess
in class RexShuttle
public RexNode visitInputRef(RexInputRef inputRef)
visitInputRef
in interface RexVisitor<RexNode>
visitInputRef
in class RexShuttle
public RexNode visitLocalRef(RexLocalRef localRef)
visitLocalRef
in interface RexVisitor<RexNode>
visitLocalRef
in class RexShuttle
public RexNode visitLiteral(RexLiteral literal)
visitLiteral
in interface RexVisitor<RexNode>
visitLiteral
in class RexShuttle
public RexNode visitDynamicParam(RexDynamicParam dynamicParam)
visitDynamicParam
in interface RexVisitor<RexNode>
visitDynamicParam
in class RexShuttle
public RexNode visitRangeRef(RexRangeRef rangeRef)
visitRangeRef
in interface RexVisitor<RexNode>
visitRangeRef
in class RexShuttle
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.