uk.ac.bbk.dcs.automed.qproc.functions.aggregation
Class Min

java.lang.Object
  extended by uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
      extended by uk.ac.bbk.dcs.automed.qproc.functions.aggregation.Min

public class Min
extends BuiltInFunction


Field Summary
private  Cell minCell
           
 
Fields inherited from class uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
arity, evaluationMeta, logger, typeList
 
Constructor Summary
Min()
           
 
Method Summary
protected  void findmin(Cell n)
           
 Cell perform(Cell[] args, Evaluator e)
           
 Cell post_processing(Cell[] args)
          Dimitris added on 14/07/07
 
Methods inherited from class uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
finalize, getArity, getEvaluationMeta, getTypeList
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minCell

private Cell minCell
Constructor Detail

Min

public Min()
    throws ParseException
Throws:
ParseException
Method Detail

findmin

protected void findmin(Cell n)
                throws QProcException
Throws:
QProcException

post_processing

public Cell post_processing(Cell[] args)
                     throws QProcException
Description copied from class: BuiltInFunction
Dimitris added on 14/07/07

Overrides:
post_processing in class BuiltInFunction
Throws:
QProcException

perform

public Cell perform(Cell[] args,
                    Evaluator e)
             throws TypeException,
                    QProcException
Specified by:
perform in class BuiltInFunction
Returns:
a Cell object that is the root of a graph that represents the result of applying the built-in function to the arguments args. Uses the Evaluator e to evaluate any sub-queries that need to be evaluated.
Throws:
TypeException
QProcException