Class CountFunction
java.lang.Object
org.pentaho.reporting.libraries.formula.function.information.CountFunction
- All Implemented Interfaces:
Serializable
,Function
This function counts the numbers in the list of NumberSequences provided. Only numbers in references are counted; all
other types are ignored. Errors are not propagated.
- Author:
- Cedric Pronzato
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CountFunction
public CountFunction()
-
-
Method Details
-
getCanonicalName
- Specified by:
getCanonicalName
in interfaceFunction
-
evaluate
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException - Specified by:
evaluate
in interfaceFunction
- Throws:
EvaluationException
-