export Table As CSV
abstract fun exportTableAsCSV(tableName: String, schemaName: String? = defaultSchemaName, out: PrintWriter = outputDirectory.createPrintWriter("${tableName}.csv"), header: Boolean = true)
Writes the table as comma separated values
Parameters
schema Name
the name of the schema that should contain the tables
table Name
the name of the table to write
header
true means column names as the header included
out
the PrintWriter to write to. The print writer is not closed.