public interface Aggregator
Modifier and Type | Method and Description |
---|---|
void |
accumulate(Object value)
Accumulate the next scalar value
|
void |
init()
Initialize the Aggregator
|
Object |
terminate()
Finish the aggregation and return the operation result.
|
void init()
void accumulate(Object value)
value
- the scalar value to accumulateObject terminate()