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 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 request
      generator - - the generator used for the request
      resultSet - - data to write out. Can be null if generator was empty
      duration - - the database execution duration in MS
      Throws:
      Exception
    • close

      void close() throws Exception
      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.