Interface CsvInputAwareImportProgressDialog
-
- All Known Implementing Classes:
TextFileCSVImportProgressDialog
,TextFileCSVImportProgressDialog
public interface CsvInputAwareImportProgressDialog
A common interface for progress dialogs that import csv data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
getStringFromRow(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, int index, boolean failOnParseError)
WhenfailOnParseError
is set tofalse
, returns theString
value fromRowMeta
at the givenindex
, or directly from therow
object, if there is a problem fetching the value fromRowMeta
.String
open(boolean failOnParseError)
-
-
-
Method Detail
-
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
WhenfailOnParseError
is set tofalse
, returns theString
value fromRowMeta
at the givenindex
, or directly from therow
object, if there is a problem fetching the value fromRowMeta
. WhenfailOnParseError
istrue
, anyException
thrown by the call toRowMeta.getString(Object[], int)
is reported back to the caller.- Parameters:
rowMeta
- an instance ofRowMetaInterface
row
- an Object array containing row dataindex
- the index representing the column in a rowfailOnParseError
- 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
-
-