deduper / org.bradfordmiller.deduper.persistors / CsvHashPersistor

CsvHashPersistor

class CsvHashPersistor : CsvPersistor, HashPersistor

creates and writes out hash values found in a deduper process to a csv defined in config

Constructors

<init>

creates and writes out hash values found in a deduper process to a csv defined in config

CsvHashPersistor(config: Map<String, String>)

Functions

createHashTable

creates a hash output csv file. deleteIfDupeExists determines whether the file is deleted if it already

fun createHashTable(deleteIfHashTableExists: Boolean): Unit

writeRows

writes out a list of hash data rows to a csv and returns the number of rows written

fun writeRows(rows: MutableList<HashRow>): Long