Interface CsvInputAwareImportProgressDialog
-
- All Known Implementing Classes:
TextFileCSVImportProgressDialog,TextFileCSVImportProgressDialog
public interface CsvInputAwareImportProgressDialogA 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 StringgetStringFromRow(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row, int index, boolean failOnParseError)WhenfailOnParseErroris set tofalse, returns theStringvalue fromRowMetaat the givenindex, or directly from therowobject, if there is a problem fetching the value fromRowMeta.Stringopen(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
WhenfailOnParseErroris set tofalse, returns theStringvalue fromRowMetaat the givenindex, or directly from therowobject, if there is a problem fetching the value fromRowMeta. WhenfailOnParseErroristrue, anyExceptionthrown by the call toRowMeta.getString(Object[], int)is reported back to the caller.- Parameters:
rowMeta- an instance ofRowMetaInterfacerow- 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
-
-