Class CountAFunctionDescription

java.lang.Object
org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
org.pentaho.reporting.libraries.formula.function.information.CountAFunctionDescription
All Implemented Interfaces:
Serializable, FunctionDescription

public class CountAFunctionDescription extends AbstractFunctionDescription
Describes the CountFunction function.
Author:
Cedric Pronzato
See Also:
  • Constructor Details

    • CountAFunctionDescription

      public CountAFunctionDescription()
  • Method Details

    • getValueType

      public Type getValueType()
    • getCategory

      public FunctionCategory getCategory()
    • getParameterCount

      public int getParameterCount()
    • isInfiniteParameterCount

      public boolean isInfiniteParameterCount()
      Specified by:
      isInfiniteParameterCount in interface FunctionDescription
      Overrides:
      isInfiniteParameterCount in class AbstractFunctionDescription
    • getParameterType

      public Type getParameterType(int position)
      Returns the parameter type at the given position using the function metadata. The first parameter is at the position 0;
      Parameters:
      position - The parameter index.
      Returns:
      The parameter type.
    • isParameterMandatory

      public boolean isParameterMandatory(int position)
      Defines, whether the parameter at the given position is mandatory. A mandatory parameter must be filled in, while optional parameters need not to be filled in.
      Returns: