Package 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 theResultSet
to read from, which column index (or indexes) to use and theWriter
to write to.- Since:
- 3.1
- Author:
- Nicklas
- See Also:
ResultWriterFactory
- Last modified
- $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
write()
Write the current data.
-
-
-
Method Detail
-
write
void write() throws SQLException, IOException
Write the current data.- Throws:
SQLException
IOException
-
-