class xf::database::gqe::JoinStrategyManualSet

#include "gqe_join_strategy.hpp"

Overview

class JoinStrategyManualSet: public xf::database::gqe::JoinStrategyBase

Inherited Members


Methods

JoinStrategyManualSet

JoinStrategyManualSet (
    size_t _sol,
    size_t _sec_l,
    size_t _sec_r,
    size_t _slice_num,
    size_t _log_part,
    bool _probe_buf_size_auto = true
    )

construct of JoinStrategyManualSet .

derived class of JoinStrategyBase , for set solution and parameters manually

Parameters:

sol solution id SOL0 | SOL1 | SOL2.
sec_l section number of left table
sec_r section number of right table
slice_num slice number of probe kernel.
log_part log number of hash partition.
_probe_buf_size_auto solution2: when true (default), auto set, false, refer to size of user buffer //todo: current version, only solution2 add cpu aggregation, reserve the parameter

getSolutionParams

virtual std::vector <size_t> getSolutionParams (
    Table tab_a,
    Table tab_b
    )

get solution id and parameters.

Parameters:

tab_a left table
tab_b right table