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