com.cloudera.crunch
Class CombineFn.MinDoubles
java.lang.Object
com.cloudera.crunch.CombineFn.MinDoubles
- All Implemented Interfaces:
- CombineFn.Aggregator<Double>, Serializable
- Enclosing class:
- CombineFn<S,T>
public static class CombineFn.MinDoubles
- extends Object
- implements CombineFn.Aggregator<Double>
- See Also:
- Serialized Form
Method Summary |
void |
reset()
Clears the internal state of this Aggregator and prepares it for the values associated
with the next key. |
Iterable<Double> |
results()
Returns the current aggregated state of this instance. |
void |
update(Double next)
Incorporate the given value into the aggregate state maintained by this instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CombineFn.MinDoubles
public CombineFn.MinDoubles()
reset
public void reset()
- Description copied from interface:
CombineFn.Aggregator
- Clears the internal state of this Aggregator and prepares it for the values associated
with the next key.
- Specified by:
reset
in interface CombineFn.Aggregator<Double>
update
public void update(Double next)
- Description copied from interface:
CombineFn.Aggregator
- Incorporate the given value into the aggregate state maintained by this instance.
- Specified by:
update
in interface CombineFn.Aggregator<Double>
results
public Iterable<Double> results()
- Description copied from interface:
CombineFn.Aggregator
- Returns the current aggregated state of this instance.
- Specified by:
results
in interface CombineFn.Aggregator<Double>
Copyright © 2012. All Rights Reserved.