Package de.businesscode.bcdui.wrs.load
Interface IDataWriter
-
- All Known Implementing Classes:
AbstractDataWriter
,CsvDataWriter
,SylkDataWriter
,VFSDataWriter
,Wrq2ExcelSheetDataWriter
,WrsDataWriter
public interface IDataWriter
The class writes the full result of a load operation out
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
close the destination resourceint
getColumnsCount()
int
getRowCount()
void
write(IRequestOptions options, ISqlGenerator generator, java.sql.ResultSet resultSet, long duration)
Write the result-set and (possible) input option
-
-
-
Method Detail
-
write
void write(IRequestOptions options, ISqlGenerator generator, java.sql.ResultSet resultSet, long duration) throws java.lang.Exception
Write the result-set and (possible) input option- Parameters:
options
- - the options used for ths requestgenerator
- - the generator used for the requestresultSet
- - data to write out. Can be null if generator was emptyduration
- - the database execution duration in MS- Throws:
java.lang.Exception
-
close
void close() throws java.lang.Exception
close the destination resource- Throws:
java.lang.Exception
-
getRowCount
int getRowCount()
- Returns:
- The number of rows written with last write
-
getColumnsCount
int getColumnsCount()
- Returns:
- The number of columns written with last write.
-
-