Aggregator
public static interface CombineFn.Aggregator<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.hadoop.conf.Configuration configuration)
Deprecated.
Perform any setup of this instance that is required prior to processing
inputs.
|
void |
reset()
Deprecated.
Clears the internal state of this Aggregator and prepares it for the
values associated with the next key.
|
Iterable<T> |
results()
Deprecated.
Returns the current aggregated state of this instance.
|
void |
update(T value)
Deprecated.
Incorporate the given value into the aggregate state maintained by this
instance.
|
void initialize(org.apache.hadoop.conf.Configuration configuration)
void reset()
void update(T value)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.