class xf::database::gqe::BloomFilterConfig¶
#include "gqe_filter_config.hpp"
Overview¶
class BloomFilterConfig: protected xf::database::gqe::BaseConfig
Methods¶
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
getShuffleWrite¶
std::vector <int8_t> getShuffleWrite () const
get the sw-shuffle config for write out
Returns:
the write out sw_shuffle cfg