class xf::database::gqe::BloomFilterConfig

#include "gqe_bloomfilter_config.hpp"

Overview

class BloomFilterConfig: protected xf::database::gqe::BaseConfig

Methods

BloomFilterConfig

BloomFilterConfig (
    TableSection a,
    std::string filter_a,
    TableSection b,
    std::string filter_b,
    std::string bf_str,
    TableSection c,
    std::string output_str,
    bool build_probe
    )

constructor of BloomFilterConfig .

The class generates bloom filter configure bits by parsing the bloom filter run arguments,

Parameters:

a left table
filter_a filter condition of left table
b right table
filter_b filter condition of right table
bf_str bloomfilter condition(s)
c result table
output_str output column mapping
build_probe true for probe, false for build

getBloomFilterConfigBits

ap_uint <512>* getBloomFilterConfigBits () const

get the gqeJoin kernel config

Returns:

bloom filter config bits

getShuffleScan

std::vector <std::vector <int8_t>> getShuffleScan () const

get the sw-shuffle config for scan.

Returns:

return the scan sw_shuffle cfg

getShuffleWrite

std::vector <int8_t> getShuffleWrite () const

get the sw-shuffle config for write out.

Returns:

return the write out sw_shuffle cfg

BloomFilterConfig

BloomFilterConfig (
    Table tab_in,
    std::string filter_condition,
    std::string input_str,
    uint64_t bf_size,
    Table tab_out,
    std::string output_str
    )

constructor of BloomFilterConfig .

This class generates filter configuration bits by paring the .run() arguments

Parameters:

tab_in input table
filter_condition filter condition for input table
input_str column name(s) of input table to be filtered
bf_size bloom-filter size in bits
tab_out result table
output_str output column mapping

getFilterConfigBits

ap_uint <512>* getFilterConfigBits () const

get the gqeFilter kernel config

Returns:

gqeFilter config bits (14 * ap_uint<512>)

getShuffleScan

std::vector <int8_t> getShuffleScan () const

get the sw-shuffle config for scan

Returns:

the scan sw_shuffle cfg