public class RexCorrelVariable extends RexVariable
Correlating variables are introduced when performing nested loop joins. Each row is received from one side of the join, a correlating variable is assigned a value, and the other side of the join is restarted.
| Modifier and Type | Field and Description |
|---|---|
CorrelationId |
id |
name, type| Constructor and Description |
|---|
RexCorrelVariable(CorrelationId id,
RelDataType type) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(RexBiVisitor<R,P> visitor,
P arg)
Accepts a visitor with a payload, dispatching to the right overloaded
RexBiVisitor.visitInputRef(RexInputRef, Object) visitXxx} method. |
<R> R |
accept(RexVisitor<R> visitor)
Accepts a visitor, dispatching to the right overloaded
visitXxx method. |
SqlKind |
getKind()
Returns the kind of node this is.
|
getName, getTypeisA, isA, isAlwaysFalse, isAlwaysTrue, toStringpublic final CorrelationId id
RexCorrelVariable(CorrelationId id, RelDataType type)
public <R> R accept(RexVisitor<R> visitor)
RexNodevisitXxx method.
Also see RexUtil.apply(RexVisitor, java.util.List, RexNode),
which applies a visitor to several expressions simultaneously.
public <R,P> R accept(RexBiVisitor<R,P> visitor, P arg)
RexNodeRexBiVisitor.visitInputRef(RexInputRef, Object) visitXxx} method.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.