RecordLinkageMockManager#
Currently, this API is unsupported in Python
-
class RecordLinkageMockManager : public helayers::er::RecordLinkageManager#
Mock class of RecordLinkageManager.
Performs the same operations but with no security. Meaning, the records are not encrypted. Use this for testing and debugging.
Public Functions
-
inline RecordLinkageMockManager(const RecordLinkageConfig &config)#
-
inline virtual void initRecordsFromFile(std::string csvPath, int numOfSamplesToTake = -1) override#
Reads record from file and performs pre-processing.
- Parameters:
csvPath – File path of csv file that contains the table records
numOfSamplesToTake – Number of records to read. The default is -1 implying all records will be read.
-
inline virtual void initRecordsFromStream(std::istream &stream, int numOfSamplesToTake = -1) override#
Reads record from stream and performs pre-processing.
- Parameters:
stream – Stream to read records from
numOfSamplesToTake – Number of records to read. The default is -1 implying all records will be read.
-
RecordLinkageMockPackage mockEncryptFieldsForEqualRule()#
-
void mockMatchRecordsByEqualRule(const RecordLinkageMockPackage &packageOwn, const RecordLinkageMockPackage &packageOther)#
-
RecordLinkageMockPackage mockEncryptFieldsForSimilarRule()#
-
void mockMatchRecordsBySimilarRule(const RecordLinkageMockPackage &packageOwn, const RecordLinkageMockPackage &packageOther)#
-
inline RecordLinkageMockManager(const RecordLinkageConfig &config)#