Class CountFunction
- java.lang.Object
-
- org.pentaho.reporting.libraries.formula.function.information.CountFunction
-
- All Implemented Interfaces:
Serializable
,Function
public class CountFunction extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CountFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeValuePair
evaluate(FormulaContext context, ParameterCallback parameters)
String
getCanonicalName()
-
-
-
Method Detail
-
getCanonicalName
public String getCanonicalName()
- Specified by:
getCanonicalName
in interfaceFunction
-
evaluate
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException
- Specified by:
evaluate
in interfaceFunction
- Throws:
EvaluationException
-
-