public interface ResultWriterFactory
ResultWriter
Modifier and Type | Method and Description |
---|---|
ResultWriter |
create(ResultSet rs,
int index,
Writer writer,
TableInfo.ColumnInfo column)
Create a new result writer.
|
ResultWriter create(ResultSet rs, int index, Writer writer, TableInfo.ColumnInfo column)
rs
- The result set that data should be taken fromindex
- The column index that the writer should read date fromwriter
- The writer to write the formatted output tocolumn
- More information about the column that the writer should
read fromBaseException
- If the factory don't know how to create
a writer for the given column