org.eigenbase.rex
Class RexVariable

java.lang.Object
  extended by org.eigenbase.rex.RexNode
      extended by org.eigenbase.rex.RexVariable
Direct Known Subclasses:
RexCorrelVariable, RexDynamicParam, RexSlot

public abstract class RexVariable
extends RexNode

A row-expression which references a field.

Since:
Nov 24, 2003
Version:
$Id: //open/dev/farrago/src/org/eigenbase/rex/RexVariable.java#9 $
Author:
jhyde

Field Summary
protected  String name
           
protected  RelDataType type
           
 
Fields inherited from class org.eigenbase.rex.RexNode
digest, EMPTY_ARRAY
 
Constructor Summary
protected RexVariable(String name, RelDataType type)
           
 
Method Summary
 String getName()
          Returns the name of this variable.
 RelDataType getType()
           
 
Methods inherited from class org.eigenbase.rex.RexNode
accept, clone, getKind, isA, isAlwaysTrue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final String name

type

protected final RelDataType type
Constructor Detail

RexVariable

protected RexVariable(String name,
                      RelDataType type)
Method Detail

getType

public RelDataType getType()
Specified by:
getType in class RexNode

getName

public String getName()
Returns the name of this variable.