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

java.lang.Object
  extended by uk.ac.bbk.dcs.automed.qproc.functions.SortDistinct
      extended by uk.ac.bbk.dcs.automed.qproc.functions.SetUnion
All Implemented Interfaces:
BuiltInFunction

public class SetUnion
extends SortDistinct


Constructor Summary
SetUnion()
           
 
Method Summary
 int getArity()
          Returns the arity of the function.
 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 uk.ac.bbk.dcs.automed.qproc.functions.SortDistinct
removeDuplicates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetUnion

public SetUnion()
Method Detail

getArity

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

Specified by:
getArity in interface BuiltInFunction
Overrides:
getArity in class SortDistinct

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
Overrides:
perform in class SortDistinct