Class CountFunction
- java.lang.Object
-
- org.pentaho.reporting.libraries.formula.function.information.CountFunction
-
- All Implemented Interfaces:
java.io.Serializable,Function
public class CountFunction extends java.lang.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 TypeValuePairevaluate(FormulaContext context, ParameterCallback parameters)java.lang.StringgetCanonicalName()
-
-
-
Method Detail
-
getCanonicalName
public java.lang.String getCanonicalName()
- Specified by:
getCanonicalNamein interfaceFunction
-
evaluate
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException
- Specified by:
evaluatein interfaceFunction- Throws:
EvaluationException
-
-