uk.ac.bbk.dcs.automed.qproc.functions
Class Group

java.lang.Object
  |
  +--uk.ac.bbk.dcs.automed.qproc.functions.Group
All Implemented Interfaces:
BuiltInFunction
Direct Known Subclasses:
GroupCompute

public class Group
extends java.lang.Object
implements BuiltInFunction


Constructor Summary
Group()
           
 
Method Summary
 int getArity()
          Returns the arity of the function.
protected  ModifiedArray grouplist(ModifiedArray list)
           
 Cell perform(Cell[] args, Evaluator e)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group

public Group()
Method Detail

getArity

public int getArity()
Description copied from interface: BuiltInFunction
Returns the arity of the function.

Specified by:
getArity in interface BuiltInFunction

grouplist

protected ModifiedArray grouplist(ModifiedArray list)

perform

public Cell perform(Cell[] args,
                    Evaluator e)
Description copied from interface: 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.

Specified by:
perform in interface BuiltInFunction