public class CountFunction extends BaseAggregateFunction implements AggregateFunction, FunctionFactory
COUNT: an aggregate function returning the number of rows._hash| Constructor and Description |
|---|
CountFunction() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
evaluate(RowDecoratorIterator rows) |
DataType |
getDataType() |
ConcreteFunction |
makeNewInstance() |
acceptable, evaluate, isDistinct, isValid, setDistinct, setDistinctaddArgument, getArgument, getArgumentCount, setArgument, setVariableContext, toStringgetAlias, getLabel, getName, setAlias, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisValidaddArgument, getAlias, getArgument, getArgumentCount, getName, setAlias, setArgumentevaluate, getLabel, setVariableContextpublic ConcreteFunction makeNewInstance()
makeNewInstance in interface FunctionFactorypublic DataType getDataType()
getDataType in interface SelectablegetDataType in class BaseFunctionpublic java.lang.Object evaluate(RowDecoratorIterator rows) throws AxionException
evaluate in interface AggregateFunctionAxionException