A
- Aggregated valuepublic interface Aggregator<A extends org.apache.hadoop.io.Writable>
Modifier and Type | Method and Description |
---|---|
void |
aggregate(A value)
Add a new value.
|
A |
createInitialValue()
Return new aggregated value which is neutral to aggregate operation.
|
A |
getAggregatedValue()
Return current aggregated value.
|
void |
reset()
Reset the value of aggregator to neutral value
|
void |
setAggregatedValue(A value)
Set aggregated value.
|
void aggregate(A value)
value
- Value to be aggregated.A createInitialValue()
A getAggregatedValue()
void setAggregatedValue(A value)
value
- Value to be set.void reset()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.