unity.functions
Class Aggregate_Function

java.lang.Object
  extended by unity.functions.Expression
      extended by unity.functions.Aggregate_Function
Direct Known Subclasses:
A_Avg, A_Count, A_Max, A_Min, A_Sum

public abstract class Aggregate_Function
extends Expression


Constructor Summary
Aggregate_Function()
           
 
Method Summary
abstract  void add(Tuple t)
           
abstract  java.lang.Object compute()
           
 java.lang.Object evaluate(Tuple t)
           
abstract  void reset()
           
 
Methods inherited from class unity.functions.Expression
computeType, getAttributeIndexReferences, getChild, getExprLocs, getNumChildren, getParent, getReturnType, hasChildren, setParent, setReturnType, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aggregate_Function

public Aggregate_Function()
Method Detail

reset

public abstract void reset()

add

public abstract void add(Tuple t)

compute

public abstract java.lang.Object compute()

evaluate

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