org.pentaho.reporting.engine.classic.core.function
Class ColumnSumExpression
java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.ColumnAggregationExpression
org.pentaho.reporting.engine.classic.core.function.ColumnSumExpression
- All Implemented Interfaces:
- Serializable, Cloneable, Expression
Deprecated. Use a formula
public class ColumnSumExpression
- extends ColumnAggregationExpression
Adds all values read from the field-list. This is almost the same as the formula [field1] + [field2] + field[3]
+ .. + [fieldn]
. Values that are non-numeric or null are ignored.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Method Summary |
Object |
getValue()
Deprecated. Return the current expression value. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
ColumnSumExpression
public ColumnSumExpression()
- Deprecated.
- Default Constructor.
getValue
public Object getValue()
- Deprecated.
- Return the current expression value.
The value depends (obviously) on the expression implementation.
- Returns:
- the value of the function.