Kudu C++ client API
Public Member Functions | List of all members
kudu::client::KuduBloomFilter Class Reference

Bloom filter to be used with IN Bloom filter predicate. More...

#include <scan_predicate.h>

Public Member Functions

void Insert (const Slice &key)
 

Detailed Description

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.

Member Function Documentation

void kudu::client::KuduBloomFilter::Insert ( const Slice key)

Insert key to the Bloom filter.

Parameters
[in]keyColumn value as a Slice to insert into the Bloom filter.

The documentation for this class was generated from the following file: