public static class BloomFilter.BloomFilterCounters extends Object
Modifier and Type | Field and Description |
---|---|
int |
nbloomAdd
#of keys added to the bloom filter.
|
int |
nbloomFalsePos
#of false positives from the bloom filter in contains/lookup(key).
|
int |
nbloomRejects
#of keys rejected by the bloom filter in contains/lookup(key).
|
int |
nbloomTest
#of keys tested by the bloom filter in contains/lookup(key).
|
Constructor and Description |
---|
BloomFilter.BloomFilterCounters() |
Modifier and Type | Method and Description |
---|---|
void |
add(BloomFilter.BloomFilterCounters o) |
double |
getBloomAcceptRate()
The effective acceptance rate for the bloom filter (
1 - rejectRate ). |
double |
getBloomErrorRate()
The effective error rate (false positive rate) for the bloom filter.
|
String |
getBloomFilterPerformance()
Returns a human readable representation of the bloom filter
performance, including the correct rejection rate and the false
positive rate to date (or at least since the bloom filter was
read from the store).
|
double |
getBloomRejectionRate()
The effective rejection rate (correct rejection rate) for the bloom
filter.
|
ICounterSet |
getCounters()
Return a
CounterSet reporting on the various counters tracked
in the instance fields of this class. |
String |
toString()
XML representation of the
CounterSet . |
public int nbloomAdd
public int nbloomTest
public int nbloomRejects
public int nbloomFalsePos
public void add(BloomFilter.BloomFilterCounters o)
o
- public double getBloomAcceptRate()
1 - rejectRate
).
This is the rate at which the bloom filter reports that the key is in
the index. False positives occur when the filter accepts a key and
the index is consulted but the key is not found in the index.public double getBloomRejectionRate()
public double getBloomErrorRate()
public ICounterSet getCounters()
CounterSet
reporting on the various counters tracked
in the instance fields of this class.
FIXME Integrate with BTreeCounters
. This needs to happen when we
setup the bloom filter, so that is in _reopen() for both
BTree
and IndexSegment
.public String toString()
CounterSet
.public String getBloomFilterPerformance()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.