Interface IDataWriter

    • 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 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:
        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.