@InterfaceAudience.Private public class LossyCounting extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
LossyCounting.LossyCountingListener |
| Constructor and Description |
|---|
LossyCounting(String name,
org.apache.hadoop.conf.Configuration conf,
LossyCounting.LossyCountingListener listener) |
LossyCounting(String name,
double errorRate,
LossyCounting.LossyCountingListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String key) |
boolean |
contains(String key) |
long |
getBucketSize() |
long |
getCurrentTerm() |
long |
getDataSize() |
Set<String> |
getElements() |
public LossyCounting(String name, double errorRate, LossyCounting.LossyCountingListener listener)
public LossyCounting(String name, org.apache.hadoop.conf.Configuration conf, LossyCounting.LossyCountingListener listener)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.