Kudu C++ client API
|
Bloom filter to be used with IN Bloom filter predicate. More...
#include <scan_predicate.h>
Public Member Functions | |
void | Insert (const Slice &key) |
Bloom filter to be used with IN Bloom filter predicate.
A Bloom filter is a space-efficient probabilistic data-structure used to test set membership with a possibility of false positive matches.
Create a new KuduBloomFilter using KuduBloomFilterBuilder
class and populate column values that need to be scanned using KuduBloomFilter::Insert()
function.
Supply the populated KuduBloomFilter to KuduTable::NewInBloomFilterPredicate()
to create an IN Bloom filter predicate.
void kudu::client::KuduBloomFilter::Insert | ( | const Slice & | key | ) |
Insert key to the Bloom filter.
[in] | key | Column value as a Slice to insert into the Bloom filter. |