| java.lang.Object com.ziclix.python.sql.pipe.csv.CSVSink
CSVSink | public class CSVSink implements Sink(Code) | | The CSVSink writes data out in a Comma Seperated Format.
author: brian zimmer version: $Revision: 2414 $ |
header | protected boolean header(Code) | | Field header
|
CSVSink | public CSVSink(PrintWriter writer)(Code) | | All data will be written to the given PrintWriter.
Parameters: writer - the PrintWriter to which data will be written |
CSVSink | public CSVSink(PrintWriter writer, PyObject converters)(Code) | | All data will be written to the given PrintWriter. If
the converters param is not None, then an attempt will
be made to convert the object using the given converter.
Parameters: writer - the PrintWriter to which data will be written Parameters: converters - an indexed dictionary of callable objects used for converting objects to strings |
end | public void end()(Code) | | Method end
|
println | protected void println(String[] row)(Code) | | Print the row of Strings.
|
row | public void row(PyObject row)(Code) | | Handle the data callback and write the row out.
|
start | public void start()(Code) | | Method start
|
|
|