org.apache.hadoop.mapred.lib.aggregate
Class UniqValueCount
java.lang.Object
org.apache.hadoop.mapreduce.lib.aggregate.UniqValueCount
org.apache.hadoop.mapred.lib.aggregate.UniqValueCount
- All Implemented Interfaces:
- ValueAggregator<Object>
@InterfaceAudience.Public
@InterfaceStability.Stable
public class UniqValueCount
- extends UniqValueCount
- implements ValueAggregator<Object>
This class implements a value aggregator that dedupes a sequence of objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqValueCount
public UniqValueCount()
- the default constructor
UniqValueCount
public UniqValueCount(long maxNum)
- constructor
- Parameters:
maxNum
- the limit in the number of unique values to keep.
Copyright © 2014 Apache Software Foundation. All Rights Reserved.