V - Type of values to be aggregatedA - Type of object which stores objects as they are being aggregatedpublic class LAggregator<V,A> extends Aggregators.SimpleAggregator<V>
| Constructor and Description | 
|---|
| LAggregator(SSupplier<A> initialSupplier,
           SBiFunction<A,V,A> combineFn,
           SFunction<A,Iterable<V>> outputFn) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | reset()Clears the internal state of this Aggregator and prepares it for the
 values associated with the next key. | 
| Iterable<V> | results()Returns the current aggregated state of this instance. | 
| void | update(V v)Incorporate the given value into the aggregate state maintained by this
 instance. | 
initializepublic void reset()
Aggregatorpublic void update(V v)
Aggregatorv - The value to add to the aggregated statepublic Iterable<V> results()
AggregatorCopyright © 2017 The Apache Software Foundation. All rights reserved.