org.axiondb.functions
Class SumFunction
java.lang.Object
org.axiondb.BaseSelectable
org.axiondb.functions.BaseFunction
org.axiondb.functions.AggregateBigDecimalFunction
org.axiondb.functions.SumFunction
- All Implemented Interfaces:
- Serializable, Function, FunctionFactory, AggregateFunction, ConcreteFunction, Selectable
public class SumFunction
- extends AggregateBigDecimalFunction
- implements AggregateFunction, FunctionFactory
- Version:
- $Revision: 1.3 $ $Date: 2004/09/09 23:47:44 $
- See Also:
- Serialized Form
Methods inherited from class org.axiondb.functions.BaseFunction |
addArgument, getAlias, getArgument, getArgumentCount, getLabel, getName, setAlias, setArgument, setName, setVariableContext, toString |
SumFunction
public SumFunction()
makeNewInstance
public ConcreteFunction makeNewInstance()
- Specified by:
makeNewInstance
in interface FunctionFactory
evaluate
protected BigDecimal evaluate(BigDecimal src,
BigDecimal val)
- Specified by:
evaluate
in class AggregateBigDecimalFunction