3.1.2: 2012-07-31

net.sf.basedb.core.migrate
Interface ResultWriter

All Known Implementing Classes:
AbstractResultWriter, BooleanWriter, ByteArrayWriter, DateWriter, DoubleWriter, FloatWriter, IntegerWriter, LongWriter, ShortWriter, TextWriter, TimestampWriter

public interface ResultWriter

Interface for quick writing of data from a JDBC result set to a writer. Implementations need to know at construction time the ResultSet to read from, which column index (or indexes) to use and the Writer to write to.

Since:
3.1
Author:
Nicklas
See Also:
ResultWriterFactory
Last modified
$Date$

Method Summary
 void write()
          Write the current data.
 

Method Detail

write

void write()
           throws SQLException,
                  IOException
Write the current data.

Throws:
SQLException
IOException

3.1.2: 2012-07-31