Entity Matching by Similarity Join
 
Loading...
Searching...
No Matches
overlap_sampler.h
Go to the documentation of this file.
1/*
2 * author: Yunqi Li
3 * contact: liyunqixa@gmail.com
4 */
5#ifndef _OVERLAP_SAMPLER_H_
6#define _OVERLAP_SAMPLER_H_
7
10
11
12/*
13 * To minimize the sampling time, we use the parallel join
14 */
15class OvlpSampler : public Sampler
16{
17public:
18 using Sampler::Sampler;
19 int det{0};
20
21public:
22 OvlpSampler() = default;
23 OvlpSampler(int _det, std::string _blkAttr, bool _isRS) : Sampler(_blkAttr, _isRS), det(_det) {
24 std::cout << "spawn overlap sampler: " << blkAttr << " " << det << " is RS Join: " << isRS << std::endl;
25 }
26 ~OvlpSampler() = default;
27 OvlpSampler(const OvlpSampler &other) = delete;
28 OvlpSampler(OvlpSampler &&other) = delete;
29
30public:
31 void sample(const std::string &pathTableA, const std::string &pathTableB);
32};
33
34
35#endif // _OVERLAP_SAMPLER_H_
Definition overlap_sampler.h:16
OvlpSampler(const OvlpSampler &other)=delete
OvlpSampler(int _det, std::string _blkAttr, bool _isRS)
Definition overlap_sampler.h:23
~OvlpSampler()=default
void sample(const std::string &pathTableA, const std::string &pathTableB)
Definition sampler_impl.cc:265
OvlpSampler()=default
int det
Definition overlap_sampler.h:19
OvlpSampler(OvlpSampler &&other)=delete
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
Sampler()=default