public class TotalItemMinFunction extends AbstractFunction implements FieldAggregationFunction
Constructor and Description |
---|
TotalItemMinFunction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCrosstabFilterGroup() |
String |
getField()
Returns the field used by the function.
|
String |
getGroup()
Returns the name of the group for which the minimum should be computed.
|
Expression |
getInstance()
Return a completly separated copy of this function.
|
Object |
getValue()
Returns the computed minimum value.
|
void |
groupStarted(ReportEvent event)
Receives notification that a group has started.
|
void |
itemsAdvanced(ReportEvent event)
Receives notification that a row of data is being processed.
|
void |
reportInitialized(ReportEvent event)
Receives notification that the report has started.
|
void |
setCrosstabFilterGroup(String crosstabFilterGroup) |
void |
setField(String field)
Sets the field name for the function.
|
void |
setGroup(String group)
Defines the name of the group to be totalled.
|
void |
summaryRowSelection(ReportEvent event)
A crosstab specific event notifying crosstab-aware functions to select the result for the summary row cell that
will be printed next.
|
groupFinished, itemsFinished, itemsStarted, reportDone, reportFinished, reportStarted
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
groupFinished, itemsFinished, itemsStarted, reportDone, reportFinished, reportStarted
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
public String getField()
getField
in interface FieldAggregationFunction
public void setField(String field)
setField
in interface FieldAggregationFunction
field
- the field name.public void reportInitialized(ReportEvent event)
reportInitialized
in interface ReportListener
reportInitialized
in class AbstractFunction
event
- the event.public void groupStarted(ReportEvent event)
groupStarted
in interface ReportListener
groupStarted
in class AbstractFunction
event
- the event.public void itemsAdvanced(ReportEvent event)
itemsAdvanced
in interface ReportListener
itemsAdvanced
in class AbstractFunction
event
- the event.public void summaryRowSelection(ReportEvent event)
AbstractFunction
summaryRowSelection
in interface ReportListener
summaryRowSelection
in class AbstractFunction
event
- The report event.public String getGroup()
getGroup
in interface AggregationFunction
public void setGroup(String group)
setGroup
in interface AggregationFunction
group
- the group name.public Object getValue()
getValue
in interface Expression
public Expression getInstance()
getInstance
in interface Expression
getInstance
in class AbstractExpression
public String getCrosstabFilterGroup()
getCrosstabFilterGroup
in interface AggregationFunction
public void setCrosstabFilterGroup(String crosstabFilterGroup)
setCrosstabFilterGroup
in interface AggregationFunction
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.