public interface BloomFilter
| Modifier and Type | Method and Description |
|---|---|
void |
add(String key)
Add a key to the
BloomFilter. |
BloomFilterTypeCode |
getBloomFilterTypeCode() |
boolean |
mightContain(String key)
Tests for key membership.
|
String |
serializeToString()
Serialize the bloom filter as a string.
|
void add(String key)
BloomFilter.key - the key to the added to the BloomFilterboolean mightContain(String key)
key - the key to be checked for membershiptrue if key may be found, false if key is not found for sure.String serializeToString()
BloomFilterTypeCode getBloomFilterTypeCode()
Copyright © 2021 The Apache Software Foundation. All rights reserved.