Class LossyCounting<T>

java.lang.Object
org.apache.hadoop.hbase.util.LossyCounting<T>

@Private public class LossyCounting<T> extends Object
LossyCounting utility, bounded data structure that maintains approximate high frequency elements in data stream. Bucket size is 1 / error rate. (Error rate is 0.02 by default) Lemma If element does not appear in set, then is frequency is less than e * N (N is total element counts until now.) Based on paper: http://www.vldb.org/conf/2002/S10P03.pdf