Package org.apache.hadoop.hbase.util
Interface BloomFilterBase
- All Known Subinterfaces:
BloomFilter
,BloomFilterWriter
- All Known Implementing Classes:
BloomFilterChunk
,CompoundBloomFilter
,CompoundBloomFilterBase
,CompoundBloomFilterWriter
Common methods Bloom filter methods required at read and write time.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns Size of the bloom, in byteslong
Returns The number of keys added to the bloomlong
Returns The max number of keys that can be inserted to maintain the desired error rate
-
Method Details
-
getKeyCount
long getKeyCount()Returns The number of keys added to the bloom -
getMaxKeys
long getMaxKeys()Returns The max number of keys that can be inserted to maintain the desired error rate -
getByteSize
long getByteSize()Returns Size of the bloom, in bytes
-