org.axiondb.functions
Class MinFunction

java.lang.Object
  extended by org.axiondb.BaseSelectable
      extended by org.axiondb.functions.BaseFunction
          extended by org.axiondb.functions.BaseAggregateFunction
              extended by org.axiondb.functions.ComparableAggregateFunction
                  extended by org.axiondb.functions.MinFunction
All Implemented Interfaces:
Serializable, Function, FunctionFactory, AggregateFunction, ConcreteFunction, Selectable

public class MinFunction
extends ComparableAggregateFunction
implements AggregateFunction, FunctionFactory

Version:
$Revision: 1.10 $ $Date: 2005/08/24 00:41:52 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.axiondb.BaseSelectable
_hash
 
Constructor Summary
MinFunction()
           
 
Method Summary
protected  Comparable evaluate(Comparable src, Comparable val)
           
 ConcreteFunction makeNewInstance()
           
protected  void setDistinct()
           
 
Methods inherited from class org.axiondb.functions.ComparableAggregateFunction
evaluate, getDataType
 
Methods inherited from class org.axiondb.functions.BaseAggregateFunction
acceptable, evaluate, isDistinct, isValid, setDistinct
 
Methods inherited from class org.axiondb.functions.BaseFunction
addArgument, getArgument, getArgumentCount, setArgument, setVariableContext, toString
 
Methods inherited from class org.axiondb.BaseSelectable
getAlias, getLabel, getName, setAlias, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.axiondb.functions.AggregateFunction
evaluate
 
Methods inherited from interface org.axiondb.functions.ConcreteFunction
isValid
 
Methods inherited from interface org.axiondb.Function
addArgument, getAlias, getArgument, getArgumentCount, getName, setAlias, setArgument
 
Methods inherited from interface org.axiondb.Selectable
evaluate, getDataType, getLabel, setVariableContext
 

Constructor Detail

MinFunction

public MinFunction()
Method Detail

makeNewInstance

public ConcreteFunction makeNewInstance()
Specified by:
makeNewInstance in interface FunctionFactory

setDistinct

protected void setDistinct()
                    throws AxionException
Overrides:
setDistinct in class BaseAggregateFunction
Throws:
AxionException

evaluate

protected Comparable evaluate(Comparable src,
                              Comparable val)
Specified by:
evaluate in class ComparableAggregateFunction