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
Constructors -
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> Raccept(RexVisitor<R> visitor) Accepts a visitor, dispatching to the right overloadedvisitXxxmethod.getAlpha()getKind()Returns the kind of node this is.static RexPatternFieldRefof(String alpha, int index, RelDataType type) static RexPatternFieldRefof(String alpha, RexInputRef ref) Methods inherited from class org.apache.calcite.rex.RexInputRef
add2, createName, equals, hashCode, of, of, of2Methods inherited from class org.apache.calcite.rex.RexVariable
getName, getTypeMethods 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:RexNodeAccepts a visitor, dispatching to the right overloadedvisitXxxmethod.Also see
RexUtil.apply(RexVisitor, java.util.List, RexNode), which applies a visitor to several expressions simultaneously.- Overrides:
acceptin classRexInputRef
-
accept
Description copied from class:RexNodeAccepts a visitor with a payload, dispatching to the right overloadedRexBiVisitor.visitInputRef(RexInputRef, Object)visitXxx} method.- Overrides:
acceptin classRexInputRef
-
getKind
Description copied from class:RexNodeReturns the kind of node this is.- Overrides:
getKindin classRexInputRef- Returns:
- Node kind, never null
-