Package | Description |
---|---|
org.apache.cassandra.utils |
Modifier and Type | Method and Description |
---|---|
static BloomCalculations.BloomSpecification |
BloomCalculations.computeBloomSpec(int bucketsPerElement)
Given the number of buckets that can be used per element, return a
specification that minimizes the false positive rate.
|
static BloomCalculations.BloomSpecification |
BloomCalculations.computeBloomSpec(int maxBucketsPerElement,
double maxFalsePosProb)
Given a maximum tolerable false positive probability, compute a Bloom
specification which will give less than the specified false positive rate,
but minimize the number of buckets per element and the number of hash
functions used.
|
Copyright © 2009- The Apache Software Foundation