org.eigenbase.rex
Class RexSlot
java.lang.Object
org.eigenbase.rex.RexNode
org.eigenbase.rex.RexVariable
org.eigenbase.rex.RexSlot
- Direct Known Subclasses:
- RexInputRef, RexLocalRef
public abstract class RexSlot
- extends RexVariable
Abstract base class for RexInputRef
and RexLocalRef
.
- Since:
- Oct 25, 2005
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/rex/RexSlot.java#7 $
- Author:
- jhyde
Field Summary |
protected int |
index
|
index
protected final int index
RexSlot
protected RexSlot(String name,
int index,
RelDataType type)
- Creates a slot.
- Parameters:
index
- Index of the field in the underlying rowtypetype
- Type of the column- "Precondition:"
- type != null, index >= 0
getIndex
public int getIndex()
makeArray
protected static String[] makeArray(int length,
String prefix)