public static class CombineFn.SumDoubles extends CombineFn.SimpleAggregator<Double>
Constructor and Description |
---|
CombineFn.SumDoubles()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
reset()
Deprecated.
Clears the internal state of this Aggregator and prepares it for the
values associated with the next key.
|
Iterable<Double> |
results()
Deprecated.
Returns the current aggregated state of this instance.
|
void |
update(Double next)
Deprecated.
Incorporate the given value into the aggregate state maintained by this
instance.
|
initialize
public void reset()
CombineFn.Aggregator
public void update(Double next)
CombineFn.Aggregator
public Iterable<Double> results()
CombineFn.Aggregator
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.