Builder

public class Builder

* Builds a Cuckoo Filter. To Create a Cuckoo filter, construct this then call #build().

Author

Mark Gunlogson

Parameters

<T>

the type of item Funnel will use

Constructors

Link copied to clipboard
public void CuckooFilter.Builder(long maxKeys)
Creates a Builder interface for CuckooFilter with the expected number of insertions using the default false positive rate, #hashAlgorithm, and concurrency.
public void CuckooFilter.Builder(int maxKeys)
Creates a Builder interface for CuckooFilter with the expected number of insertions using the default false positive rate, #hashAlgorithm, and concurrency.

Functions

Link copied to clipboard
Builds and returns a CuckooFilter<T>.
Link copied to clipboard
public CuckooFilter.Builder withExpectedConcurrency(int expectedConcurrency)
* Number of simultaneous threads expected to access the filter concurrently.
Link copied to clipboard
Sets the false positive rate for the filter.