K
- key typeV
- original value typeT
- aggregate value typepublic interface Aggregator<K,V,T>
Aggregator
interface for aggregating values of the given key.Modifier and Type | Method and Description |
---|---|
T |
apply(K aggKey,
V value,
T aggregate)
Compute a new aggregate from the key and value of a record and the current aggregate of the same key.
|