public class Bloom extends Object implements SummarySketcher<String,Boolean>
Constructor and Description |
---|
Bloom(int ntables,
int nwords) |
Modifier and Type | Method and Description |
---|---|
Boolean |
query(String data) |
void |
update(String data,
Boolean value) |
public Bloom(int ntables, int nwords)
ntables
- the number of hash functionsnwords
- the range of the hash functions