unity.functions
Class ExtractAttribute

java.lang.Object
  extended by unity.functions.Expression
      extended by unity.functions.ExtractAttribute

public class ExtractAttribute
extends Expression


Constructor Summary
ExtractAttribute(int loc)
           
ExtractAttribute(int loc, int retType)
           
 
Method Summary
 java.lang.Object evaluate(Tuple t)
           
 int getAttributeLoc()
           
 java.lang.String toString(Relation relation)
           
 
Methods inherited from class unity.functions.Expression
computeType, getAttributeIndexReferences, getChild, getExprLocs, getNumChildren, getParent, getReturnType, hasChildren, setParent, setReturnType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtractAttribute

public ExtractAttribute(int loc)

ExtractAttribute

public ExtractAttribute(int loc,
                        int retType)
Method Detail

evaluate

public java.lang.Object evaluate(Tuple t)
Specified by:
evaluate in class Expression

getAttributeLoc

public int getAttributeLoc()

toString

public java.lang.String toString(Relation relation)
Overrides:
toString in class Expression