public static class CombineFn.MaxNAggregator<V extends Comparable<V>> extends CombineFn.SimpleAggregator<V>
Constructor and Description |
---|
CombineFn.MaxNAggregator(int arity)
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<V> |
results()
Deprecated.
Returns the current aggregated state of this instance.
|
void |
update(V value)
Deprecated.
Incorporate the given value into the aggregate state maintained by this
instance.
|
initialize
public void reset()
CombineFn.Aggregator
public void update(V value)
CombineFn.Aggregator
public Iterable<V> results()
CombineFn.Aggregator
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.