public interface CsvInputAwareImportProgressDialog
Modifier and Type | Method and Description |
---|---|
default String |
getStringFromRow(RowMetaInterface rowMeta,
Object[] row,
int index,
boolean failOnParseError)
|
String |
open(boolean failOnParseError) |
String open(boolean failOnParseError)
default String getStringFromRow(RowMetaInterface rowMeta, Object[] row, int index, boolean failOnParseError) throws KettleException
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.rowMeta
- an instance of RowMetaInterface
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 returnedKettleException
Copyright © 2019 Hitachi Vantara. All rights reserved.