net.sf.saffron.rex
Class RexVariable

java.lang.Object
  |
  +--net.sf.saffron.rex.RexNode
        |
        +--net.sf.saffron.rex.RexVariable
Direct Known Subclasses:
AggInternalTranslator.RexAggVariable, AggInternalTranslator.RexGroupVariable, RexCorrelVariable, RexInputRef

public abstract class RexVariable
extends RexNode

A row-expression which references a field.

Since:
Nov 24, 2003
Version:
$Id: $
Author:
jhyde

Field Summary
protected  String name
           
protected  SaffronType type
           
 
Fields inherited from class net.sf.saffron.rex.RexNode
digest
 
Constructor Summary
protected RexVariable(String name, SaffronType type)
           
 
Method Summary
 String getName()
          Returns the name of this variable.
 SaffronType getType()
           
 
Methods inherited from class net.sf.saffron.rex.RexNode
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 SaffronType type
Constructor Detail

RexVariable

protected RexVariable(String name,
                      SaffronType type)
Method Detail

getType

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

getName

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


SourceForge.net_Logo