@Immutable public final class CsvWriter extends Object
TODO(lwhite): Do something with the missing indicator param in write() method TODO(lwhite): Add a missing indicator to the column write method, plus a method defining a default missing indicator
Modifier and Type | Method and Description |
---|---|
static void |
write(String fileName,
Column column)
Writes the given column to a file with the given fileName as a single column CSV file
|
static void |
write(String fileName,
Table table)
Writes the given table to a file with the given filename
|
static void |
write(String fileName,
Table table,
String missing)
Writes the given table to a file with the given filename, using the given string to represent missing data
|
public static void write(String fileName, Table table) throws IOException
IOException
- if the write failspublic static void write(String fileName, Table table, String missing) throws IOException
IOException
- if the write failspublic static void write(String fileName, Column column) throws IOException
IOException
- if the write failsCopyright © 2017. All rights reserved.