|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.ColumnAggregationExpression
public abstract class ColumnAggregationExpression
The base-class for all expressions that aggregate values from multiple columns.
Method Summary | |
---|---|
String[] |
getField()
Returns all defined fields as array of strings. |
String |
getField(int index)
Returns the defined field at the given index-position. |
int |
getFieldCount()
Returns the number of fields defined in this expression. |
Expression |
getInstance()
Return a completly separated copy of this function. |
void |
setField(int index,
String field)
Defines the field in the field-list at the given index. |
void |
setField(String[] fields)
Defines all fields as array. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression |
---|
getValue |
Method Detail |
---|
public void setField(int index, String field)
index
- the position in the list, where the field should be defined.field
- the name of the field.public String getField(int index)
index
- the position of the field name that should be queried.
public int getFieldCount()
public String[] getField()
public void setField(String[] fields)
fields
- the new list of fields.public Expression getInstance()
getInstance
in interface Expression
getInstance
in class AbstractExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |