Package org.apache.cassandra.utils
Class FilterFactory
java.lang.Object
org.apache.cassandra.utils.FilterFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
AlwaysPresent
-
-
Constructor Details
-
FilterFactory
public FilterFactory()
-
-
Method Details
-
getFilter
- Returns:
- A BloomFilter with the lowest practical false positive probability for the given number of elements.
-
getFilter
- Returns:
- The smallest BloomFilter that can provide the given false positive probability rate for the given number of elements. Asserts that the given probability can be satisfied using this filter.
-