public interface AlgorithmMainStep<T,U,V>
Interface step in the algorithm. The general contract is that : 1. init() method is called after all useful values have been set 2. exit() method is called after all executions have been done
| Modifier and Type | Method and Description |
|---|---|
StepResult<U> |
execute(NewRowEvent newRowEvent,
StepInput stepInput)
callback method called for each row
|
StepResult<V> |
exit(StepInput stepInput)
called when finishing the algorithm execution
|
StepResult<T> |
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.
|
StepResult<T> init(StepInput stepInput)
stepInput - TODOStepResult<U> execute(NewRowEvent newRowEvent, StepInput stepInput)
newRowEvent - stepInput - TODOStepResult<V> exit(StepInput stepInput)
Copyright © 2006–2015. All rights reserved.