Interface CsvInputAwareImportProgressDialog

All Known Implementing Classes:
TextFileCSVImportProgressDialog, TextFileCSVImportProgressDialog

public interface CsvInputAwareImportProgressDialog
A common interface for progress dialogs that import csv data.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    getStringFromRow(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, int index, boolean failOnParseError)
    When failOnParseError is set to false, returns the String value from RowMeta at the given index, or directly from the row object, if there is a problem fetching the value from RowMeta.
    open(boolean failOnParseError)
     
  • Method Details

    • open

      String open(boolean failOnParseError)
    • getStringFromRow

      default String getStringFromRow(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, int index, boolean failOnParseError) throws org.pentaho.di.core.exception.KettleException
      When failOnParseError is set to false, returns the String value from RowMeta at the given index, or directly from the row object, if there is a problem fetching the value from RowMeta. When failOnParseError is true, any Exception thrown by the call to RowMeta.getString(Object[], int) is reported back to the caller.
      Parameters:
      rowMeta - an instance of RowMetaInterface
      row - an Object array containing row data
      index - the index representing the column in a row
      failOnParseError - when true, Exceptions are reported back to the called, when false, exceptions are ignored and a null value is returned
      Returns:
      the row value at the given index
      Throws:
      org.pentaho.di.core.exception.KettleException