Package org.apache.calcite.rex
Class RexSlot
- java.lang.Object
-
- org.apache.calcite.rex.RexNode
-
- org.apache.calcite.rex.RexVariable
-
- org.apache.calcite.rex.RexSlot
-
- Direct Known Subclasses:
RexInputRef
,RexLocalRef
public abstract class RexSlot extends RexVariable
Abstract base class forRexInputRef
andRexLocalRef
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
RexSlot.SelfPopulatingList
Thread-safe list that populates itself if you make a reference beyond the end of the list.
-
Constructor Summary
Constructors Modifier Constructor Description protected
RexSlot(java.lang.String name, int index, RelDataType type)
Creates a slot.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
-
Methods inherited from class org.apache.calcite.rex.RexVariable
getName, getType
-
-
-
-
Constructor Detail
-
RexSlot
protected RexSlot(java.lang.String name, int index, RelDataType type)
Creates a slot.- Parameters:
index
- Index of the field in the underlying rowtypetype
- Type of the column
-
-