Class UniqValueCount

java.lang.Object
org.apache.hadoop.mapreduce.lib.aggregate.UniqValueCount
org.apache.hadoop.mapred.lib.aggregate.UniqValueCount
All Implemented Interfaces:
ValueAggregator<Object>, ValueAggregator<Object>

@Public @Stable public class UniqValueCount extends UniqValueCount implements ValueAggregator<Object>
This class implements a value aggregator that dedupes a sequence of objects.
  • Constructor Details

    • UniqValueCount

      public UniqValueCount()
      the default constructor
    • UniqValueCount

      public UniqValueCount(long maxNum)
      constructor
      Parameters:
      maxNum - the limit in the number of unique values to keep.