class CsvTargetPersistor : CsvPersistor, TargetPersistor
create and writes out "deduped" data to csv target. target is configured in config
<init> |
create and writes out "deduped" data to csv target. target is configured in config CsvTargetPersistor(config: Map<String, String>) |
createTarget |
creates the target csv file based on the metadata found in qi. deleteIfTargetExists determines whether the target csv file is deleted if it already exists before creating. fun createTarget(qi: QueryInfo, deleteIfTargetExists: Boolean): Unit |
writeRows |
writes out a list of key/value pairs contained in rows to a csv. The key is the column name, and the value is the data value for the column. Returns the number of rows written. fun writeRows(rows: MutableList<Map<String, Any>>): Long |