public class BooleanOverwriteAggregator extends BasicAggregator<org.apache.hadoop.io.BooleanWritable>
Constructor and Description |
---|
BooleanOverwriteAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(org.apache.hadoop.io.BooleanWritable value)
Add a new value.
|
org.apache.hadoop.io.BooleanWritable |
createInitialValue()
Return new aggregated value which is neutral to aggregate operation.
|
getAggregatedValue, reset, setAggregatedValue
public void aggregate(org.apache.hadoop.io.BooleanWritable value)
Aggregator
value
- Value to be aggregated.public org.apache.hadoop.io.BooleanWritable createInitialValue()
Aggregator
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.