org.axiondb.functions
Class ComparableAggregateFunction
java.lang.Object
org.axiondb.BaseSelectable
org.axiondb.functions.BaseFunction
org.axiondb.functions.BaseAggregateFunction
org.axiondb.functions.ComparableAggregateFunction
- All Implemented Interfaces:
- Serializable, Function, AggregateFunction, ConcreteFunction, Selectable
- Direct Known Subclasses:
- MaxFunction, MinFunction
public abstract class ComparableAggregateFunction
- extends BaseAggregateFunction
- implements AggregateFunction
- Version:
- $Revision: 1.1 $ $Date: 2005/08/24 00:41:52 $
- See Also:
- Serialized Form
ComparableAggregateFunction
public ComparableAggregateFunction(String name)
getDataType
public final DataType getDataType()
- Specified by:
getDataType
in interface Selectable
- Specified by:
getDataType
in class BaseFunction
evaluate
public final Object evaluate(RowDecoratorIterator rows)
throws AxionException
- Specified by:
evaluate
in interface AggregateFunction
- Throws:
AxionException
evaluate
protected abstract Comparable evaluate(Comparable src,
Comparable val)