class xf::database::gqe::PartJoinConfig¶
#include "gqe_partjoin_config.hpp"
Overview¶
class PartJoinConfig: protected xf::database::gqe::BaseConfig
Methods¶
shuffleWritePart¶
shuffleWritePart overload (1)¶
std::vector <int8_t> shuffleWritePart ( Table& tab_, std::vector <int8_t> sw_shuffle_scan_part )
setup the sw-shuffle for write out in partition kernel
shuffleWritePart overload (2)¶
std::vector <int8_t> shuffleWritePart ( TableSection& tab_, std::vector <int8_t> sw_shuffle_scan_part )
setup the sw-shuffle for write out in partition kernel
PartJoinConfig¶
PartJoinConfig overload (1)¶
PartJoinConfig ( Table a, std::string filter_a, Table b, std::string filter_b, std::string join_str, Table c, std::string output_str, int join_Type = INNER_JOIN )
constructor of PartJoinConfig .
The class generates join configure bits by parsing the join .run() arguments,
Parameters:
a | left table |
filter_a | filter condition of left table |
b | right table |
filter_b | filter condition of right table |
join_str | join condition(s) |
evals | eval expressions list |
evals_const | eval expression constant list |
c | result table |
output_str | output column mapping |
join_type | INNER_JOIN(default) | SEMI_JOIN | ANTI_JOIN. |
part_tag | if use partition kernel |
PartJoinConfig overload (2)¶
PartJoinConfig ( TableSection a, std::string filter_a, TableSection b, std::string filter_b, std::string join_str, TableSection c, std::string output_str, int join_Type = INNER_JOIN )
constructor of PartJoinConfig .
The class generates join configure bits by parsing the join .run() arguments,
Parameters:
a | left table |
filter_a | filter condition of left table |
b | right table |
filter_b | filter condition of right table |
join_str | join condition(s) |
evals | eval expressions list |
evals_const | eval expression constant list |
c | result table |
output_str | output column mapping |
join_type | INNER_JOIN(default) | SEMI_JOIN | ANTI_JOIN. |
part_tag | if use partition kernel |
getJoinConfigBits¶
ap_uint <512>* getJoinConfigBits () const
get the gqeJoin kernel config
Returns:
join config bits
getPartConfigBits¶
ap_uint <512>* getPartConfigBits () const
get the gqePart kernel config
Returns:
join config bits
getShuffleScanHJ¶
std::vector <std::vector <int8_t>> getShuffleScanHJ () const
get the sw-shuffle config of scan in L3 join kernel
Returns:
return the scan sw_shuffle cfg
getShuffleWriteHJ¶
std::vector <int8_t> getShuffleWriteHJ () const
get the sw-shuffle config of write in L3 join kernel
Returns:
return the write sw_shuffle cfg
getShuffleScanPart¶
std::vector <std::vector <int8_t>> getShuffleScanPart () const
get the sw-shuffle config of scan in L3 part kernel
Returns:
return the scan sw_shuffle cfg
getShuffleWritePart¶
std::vector <std::vector <int8_t>> getShuffleWritePart () const
get the sw-shuffle config of write in L3 part kernel
Returns:
return the write sw_shuffle cfg