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
Modifier and TypeMethodDescriptionvoid
close()
close the destination resourceint
int
void
write
(IRequestOptions options, ISqlGenerator generator, ResultSet resultSet, long duration) Write the result-set and (possible) input option
-
Method Details
-
write
void write(IRequestOptions options, ISqlGenerator generator, ResultSet resultSet, long duration) throws 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:
Exception
-
close
close the destination resource- Throws:
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.
-