org.axiondb.functions
Class CountFunction
java.lang.Object
org.axiondb.BaseSelectable
org.axiondb.functions.BaseFunction
org.axiondb.functions.BaseAggregateFunction
org.axiondb.functions.CountFunction
- All Implemented Interfaces:
- Serializable, Function, FunctionFactory, AggregateFunction, ConcreteFunction, Selectable
public class CountFunction
- extends BaseAggregateFunction
- implements AggregateFunction, FunctionFactory
COUNT
: an aggregate function returning the number of rows.
- Version:
- $Revision: 1.9 $ $Date: 2005/04/24 21:33:11 $
- See Also:
- Serialized Form
CountFunction
public CountFunction()
makeNewInstance
public ConcreteFunction makeNewInstance()
- Specified by:
makeNewInstance
in interface FunctionFactory
getDataType
public DataType getDataType()
- Specified by:
getDataType
in interface Selectable
- Specified by:
getDataType
in class BaseFunction
evaluate
public Object evaluate(RowDecoratorIterator rows)
throws AxionException
- Specified by:
evaluate
in interface AggregateFunction
- Throws:
AxionException