Package org.apache.calcite.rex
Class RexVariable
- java.lang.Object
-
- org.apache.calcite.rex.RexNode
-
- org.apache.calcite.rex.RexVariable
-
- Direct Known Subclasses:
RexCorrelVariable
,RexDynamicParam
,RexSlot
public abstract class RexVariable extends RexNode
A row-expression which references a field.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
protected RelDataType
type
-
Constructor Summary
Constructors Modifier Constructor Description protected
RexVariable(java.lang.String name, RelDataType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of this variable.RelDataType
getType()
-
-
-
Field Detail
-
name
protected final java.lang.String name
-
type
protected final RelDataType type
-
-
Constructor Detail
-
RexVariable
protected RexVariable(java.lang.String name, RelDataType type)
-
-
Method Detail
-
getType
public RelDataType getType()
-
getName
public java.lang.String getName()
Returns the name of this variable.
-
-