public class GroupLevelDetectorStep extends AbstractReportStep<String,Integer,String>
this computes the aggregation level for the current dataEvent. The protocol is :
1 | 2 | 3 | 4 |
1 | 2 | 3 | 5 |
1 | 1 | 6 | 7 |
2 | 8 | 6 | 7 |
GRAND_TOTAL_GROUPING_LEVEL
Constructor and Description |
---|
GroupLevelDetectorStep() |
Modifier and Type | Method and Description |
---|---|
StepResult<Integer> |
execute(NewRowEvent newRowEvent,
StepInput stepInput)
execute method
|
StepResult<String> |
exit(StepInput stepInput)
called when finishing the algorithm execution
|
StepResult<String> |
init(StepInput stepInput)
this method is called only once for a report
and represents the construction step where you can define the keys and
values used inside the execute method.
|
computeAggLevelForCalcRowNumber, computeCalcRowNumberForAggLevel, getCalcIntermResultsMatrix, getCalculatorDistributionInColumnDataArray, getDataColumns, getDataColumnsLength, getDataRowCount, getGroupColumns, getGroupColumnsCount, getGroupingLevel, getPreviousRowOfGroupValues, getShowGrandTotal, getShowTotals, getTotalStringForGroupingLevel, getTotalStringForGroupingLevelAndPredecessors, getTotalStringForGroupingLevelAndPredecessors
public StepResult<Integer> execute(NewRowEvent newRowEvent, StepInput stepInput)
stepInput
- TODOpublic StepResult<String> init(StepInput stepInput)
AlgorithmMainStep
stepInput
- TODOpublic StepResult<String> exit(StepInput stepInput)
AlgorithmMainStep
Copyright © 2006–2015. All rights reserved.