#include <stringjoin.h>
|
using | InvLists = std::unordered_map<uint64_t, std::vector<int>> |
|
|
| StringJoin ()=default |
|
| StringJoin (const std::vector< std::string > &data, int threshold, ui _maxHeapSize=0) |
|
| StringJoin (const std::vector< std::string > &work, const std::vector< std::string > &query, int threshold, ui _maxHeapSize=0) |
|
| ~StringJoin () |
|
| StringJoin (const StringJoin &other)=delete |
|
| StringJoin (StringJoin &&other)=delete |
|
void | init () |
|
void | prepareSelf () |
|
void | prepareRS () |
|
bool | verifyLeftPartSelf (int xid, int yid, int xlen, int ylen, int Tau) |
|
bool | verifyRightPartSelf (int xid, int yid, int xlen, int ylen, int xpos, int ypos, int Tau) |
|
bool | verifyLeftPartRS (int xid, int yid, int xlen, int ylen, int Tau) |
|
bool | verifyRightPartRS (int xid, int yid, int xlen, int ylen, int xpos, int ypos, int Tau) |
|
void | selfJoin (std::vector< std::pair< int, int > > &finalPairs) |
|
void | RSJoin (std::vector< std::pair< int, int > > &finalPairs) |
|
void | checkSelfResults () const |
|
void | printDebugInfo (int currLen) const |
|
◆ InvLists
◆ StringJoin() [1/5]
StringJoin::StringJoin |
( |
| ) |
|
|
default |
◆ StringJoin() [2/5]
StringJoin::StringJoin |
( |
const std::vector< std::string > & | data, |
|
|
int | threshold, |
|
|
ui | _maxHeapSize = 0 ) |
|
inline |
◆ StringJoin() [3/5]
StringJoin::StringJoin |
( |
const std::vector< std::string > & | work, |
|
|
const std::vector< std::string > & | query, |
|
|
int | threshold, |
|
|
ui | _maxHeapSize = 0 ) |
|
inline |
◆ ~StringJoin()
StringJoin::~StringJoin |
( |
| ) |
|
|
inline |
◆ StringJoin() [4/5]
StringJoin::StringJoin |
( |
const StringJoin & | other | ) |
|
|
delete |
◆ StringJoin() [5/5]
◆ checkSelfResults()
void StringJoin::checkSelfResults |
( |
| ) |
const |
◆ init()
void StringJoin::init |
( |
| ) |
|
◆ prepareRS()
void StringJoin::prepareRS |
( |
| ) |
|
◆ prepareSelf()
void StringJoin::prepareSelf |
( |
| ) |
|
◆ printDebugInfo()
void StringJoin::printDebugInfo |
( |
int | currLen | ) |
const |
◆ RSJoin()
void StringJoin::RSJoin |
( |
std::vector< std::pair< int, int > > & | finalPairs | ) |
|
◆ selfJoin()
void StringJoin::selfJoin |
( |
std::vector< std::pair< int, int > > & | finalPairs | ) |
|
◆ verifyLeftPartRS()
bool StringJoin::verifyLeftPartRS |
( |
int | xid, |
|
|
int | yid, |
|
|
int | xlen, |
|
|
int | ylen, |
|
|
int | Tau ) |
◆ verifyLeftPartSelf()
bool StringJoin::verifyLeftPartSelf |
( |
int | xid, |
|
|
int | yid, |
|
|
int | xlen, |
|
|
int | ylen, |
|
|
int | Tau ) |
◆ verifyRightPartRS()
bool StringJoin::verifyRightPartRS |
( |
int | xid, |
|
|
int | yid, |
|
|
int | xlen, |
|
|
int | ylen, |
|
|
int | xpos, |
|
|
int | ypos, |
|
|
int | Tau ) |
◆ verifyRightPartSelf()
bool StringJoin::verifyRightPartSelf |
( |
int | xid, |
|
|
int | yid, |
|
|
int | xlen, |
|
|
int | ylen, |
|
|
int | xpos, |
|
|
int | ypos, |
|
|
int | Tau ) |
◆ _left
◆ _matrix
int** StringJoin::_matrix {nullptr} |
◆ _right
◆ candNum
uint64_t StringJoin::candNum {0} |
◆ dist
int* StringJoin::dist {nullptr} |
◆ hashNumber
int StringJoin::hashNumber {31} |
◆ invLists
InvLists** StringJoin::invLists {nullptr} |
◆ left
◆ listNum
uint64_t StringJoin::listNum {0} |
◆ matrix
int** StringJoin::matrix {nullptr} |
◆ maxDictLen
int StringJoin::maxDictLen {0} |
◆ maxHeapSize
ui StringJoin::maxHeapSize {0} |
◆ minDictLen
int StringJoin::minDictLen {0} |
◆ modNumber
int StringJoin::modNumber {1000000007} |
◆ pairs
std::vector<std::pair<int, int> > StringJoin::pairs |
◆ partIndex
std::vector<PIndex>** StringJoin::partIndex {nullptr} |
◆ partLen
int** StringJoin::partLen {nullptr} |
◆ partPos
int** StringJoin::partPos {nullptr} |
◆ PN
◆ power
uint64_t* StringJoin::power {nullptr} |
◆ query_dataset
std::vector<std::string> StringJoin::query_dataset |
◆ queryMaxDictLen
int StringJoin::queryMaxDictLen {0} |
◆ queryMinDictLen
int StringJoin::queryMinDictLen {19260817} |
◆ queryN
int StringJoin::queryN {0} |
◆ quickRef
bool* StringJoin::quickRef {nullptr} |
◆ realNum
uint64_t StringJoin::realNum {0} |
◆ results
std::vector<int> StringJoin::results |
◆ right
◆ valid
◆ veriNum
uint64_t StringJoin::veriNum {0} |
◆ work_dataset
std::vector<std::string> StringJoin::work_dataset |
◆ workMaxDictLen
int StringJoin::workMaxDictLen {0} |
◆ workMinDictLen
int StringJoin::workMinDictLen {19260817} |
◆ workN
int StringJoin::workN {0} |
The documentation for this class was generated from the following files: