deduper / org.bradfordmiller.deduper.persistors / SqlHashPersistor

SqlHashPersistor

class SqlHashPersistor : HashPersistor

creates a sql table for persisting hashed data rows. This is configured using the hashJndi contained in the associated context

Constructors

<init>

creates a sql table for persisting hashed data rows. This is configured using the hashJndi contained in the associated context

SqlHashPersistor(hashJndi: String, context: String)

Functions

createHashTable

creates a sql table for persisting hash rows found in a deduper process. deleteIfHashTableExists will drop the table if it already exists before attempting to create it

fun createHashTable(deleteIfHashTableExists: Boolean): Unit

writeRows

writes out a list of duplicate data rows to a a sql table and returns number of rows written

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

Companion Object Properties

logger

val logger: Logger!