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
,RexLambdaRef
,RexLocalRef
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Thread-safe list that populates itself if you make a reference beyond the end of the list. -
Field Summary
Fields inherited from class org.apache.calcite.rex.RexVariable
name, type
-
Constructor Summary
ModifierConstructorDescriptionprotected
RexSlot
(String name, int index, RelDataType type) Creates a slot. -
Method Summary
Methods inherited from class org.apache.calcite.rex.RexVariable
getName, getType
-
Field Details
-
index
protected final int index
-
-
Constructor Details
-
RexSlot
Creates a slot.- Parameters:
index
- Index of the field in the underlying rowtypetype
- Type of the column
-
-
Method Details
-
getIndex
public int getIndex()
-