Package | Description |
---|---|
orestes.bloomfilter | |
orestes.bloomfilter.json | |
orestes.bloomfilter.redis |
Modifier and Type | Class and Description |
---|---|
class |
CBloomFilter<T> |
Modifier and Type | Method and Description |
---|---|
boolean |
CBloomFilter.intersect(BloomFilter<T> other) |
boolean |
BloomFilter.intersect(BloomFilter<T> other)
Performs the intersection operation on two compatible bloom filters.
|
boolean |
CBloomFilter.union(BloomFilter<T> other) |
boolean |
BloomFilter.union(BloomFilter<T> other)
Performs the union operation on two compatible bloom filters.
|
Modifier and Type | Method and Description |
---|---|
static BloomFilter<java.lang.String> |
BloomFilterConverter.fromJson(com.google.gson.JsonElement source) |
static <T> BloomFilter<T> |
BloomFilterConverter.fromJson(com.google.gson.JsonElement source,
java.lang.Class<T> type)
Constructs a Bloom filter from its JSON representation
|
Modifier and Type | Method and Description |
---|---|
static com.google.gson.JsonElement |
BloomFilterConverter.toJson(BloomFilter<?> source)
Convert a Bloom filter into a JSON Element.
|
Modifier and Type | Class and Description |
---|---|
class |
BloomFilterRedis<T>
A persistent bloom filter backed by the Redis key value store.
|
class |
CBloomFilterRedis<T>
Uses regular key-value pairs for counting instead of a bitarray.
|
class |
CBloomFilterRedisBits<T>
This Redis-backed bloomfilter stores the counting bits in a bit array and uses Lua scripting (available in Redis 2.6
and above) to access it efficiently.
|