Package org.apache.calcite.rex
Class RexPatternFieldRef
java.lang.Object
org.apache.calcite.rex.RexNode
org.apache.calcite.rex.RexVariable
org.apache.calcite.rex.RexSlot
org.apache.calcite.rex.RexInputRef
org.apache.calcite.rex.RexPatternFieldRef
Variable that references a field of an input relational expression.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.rex.RexSlot
RexSlot.SelfPopulatingList
-
Field Summary
Fields inherited from class org.apache.calcite.rex.RexVariable
name, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<R,
P> R accept
(RexBiVisitor<R, P> visitor, P arg) Accepts a visitor with a payload, dispatching to the right overloadedRexBiVisitor.visitInputRef(RexInputRef, Object)
visitXxx} method.<R> R
accept
(RexVisitor<R> visitor) Accepts a visitor, dispatching to the right overloadedvisitXxx
method.getAlpha()
getKind()
Returns the kind of node this is.static RexPatternFieldRef
of
(String alpha, int index, RelDataType type) static RexPatternFieldRef
of
(String alpha, RexInputRef ref) Methods inherited from class org.apache.calcite.rex.RexInputRef
add2, createName, equals, hashCode, of, of, of2
Methods inherited from class org.apache.calcite.rex.RexVariable
getName, getType
Methods inherited from class org.apache.calcite.rex.RexNode
isA, isA, isAlwaysFalse, isAlwaysTrue, nodeCount, toString
-
Constructor Details
-
RexPatternFieldRef
-
-
Method Details
-
getAlpha
-
of
-
of
-
accept
Description copied from class:RexNode
Accepts a visitor, dispatching to the right overloadedvisitXxx
method.Also see
RexUtil.apply(RexVisitor, java.util.List, RexNode)
, which applies a visitor to several expressions simultaneously.- Overrides:
accept
in classRexInputRef
-
accept
Description copied from class:RexNode
Accepts a visitor with a payload, dispatching to the right overloadedRexBiVisitor.visitInputRef(RexInputRef, Object)
visitXxx} method.- Overrides:
accept
in classRexInputRef
-
getKind
Description copied from class:RexNode
Returns the kind of node this is.- Overrides:
getKind
in classRexInputRef
- Returns:
- Node kind, never null
-