5#ifndef _DOWN_SAMPLER_H_
6#define _DOWN_SAMPLER_H_
28 std::cout <<
"spawn down sampler: " <<
blkAttr <<
" n: " <<
n <<
" y: " <<
y <<
" is RS Join: " <<
isRS << std::endl;
Definition down_sampler.h:17
std::vector< std::pair< int, int > > samplePairs[MAXTHREADNUM]
Definition down_sampler.h:23
void sample(const std::string &pathTableA, const std::string &pathTableB)
Definition sampler_impl.cc:50
DownSampler(DownSampler &&other)=delete
DownSampler(ui _n, ui _y, std::string _blkAttr, bool _isRS)
Definition down_sampler.h:27
ui n
Definition down_sampler.h:20
DownSampler(const DownSampler &other)=delete
std::unordered_map< ui, std::vector< ui > > tokenIndex
Definition down_sampler.h:22
ui y
Definition down_sampler.h:21
Definition base_sampler.h:15
std::string blkAttr
Definition base_sampler.h:17
std::string pathTableA
Definition base_sampler.h:20
std::string pathTableB
Definition base_sampler.h:21
bool isRS
Definition base_sampler.h:18
#define MAXTHREADNUM
Definition config.h:38
unsigned int ui
Definition type.h:8