interface DupePersistor : WritePersistor<Pair<String, Pair<MutableList<Long>, Dupe>>>
definition for writing out duplicate data to a target flat file or sql table
createDupe |
creates the duplicate file or sql table. deleteIfDupeExists determines if the duplicate file/table is deleted/dropped before creation. abstract fun createDupe(deleteIfDupeExists: Boolean): Unit |
writeRows |
writes out a list of duplicate data contained in rows. abstract fun writeRows(rows: MutableList<Pair<String, Pair<MutableList<Long>, Dupe>>>): Long |
CsvDupePersistor |
creates and writes out duplicate data to csv target. duplicate target is configured in config class CsvDupePersistor : CsvPersistor, DupePersistor |
SqlDupePersistor |
creates a sql table for persisting duplicate data. This is configured using the dupesJndi contained in the associated context class SqlDupePersistor : DupePersistor |