Interface ICsvInputAwareTransformDialog
-
public interface ICsvInputAwareTransformDialogA common interface for all transform dialogs aware of the csv input format, such as CSV Input and Text File Input Dialog
-
-
Method Summary
-
-
-
Method Detail
-
getFieldNames
default String[] getFieldNames(ICsvInputAwareMeta meta)
-
getFieldNamesImpl
default String[] getFieldNamesImpl(InputStreamReader reader, ICsvInputAwareMeta meta) throws HopException
- Throws:
HopException
-
massageFieldName
default String massageFieldName(String fieldName)
Custom handling of each field can be implemented here.
-
getInputStream
InputStream getInputStream(ICsvInputAwareMeta meta)
Returns theInputStreamcorresponding to the csv file, or null if the file cannot be read.- Returns:
- the
InputStreamcorresponding to the csv file, or null if the file cannot be read
-
getReader
default InputStreamReader getReader(ICsvInputAwareMeta meta, InputStream inputStream)
Returns theInputStreamReadercorresponding to the csv file, or null if the file cannot be read.- Returns:
- the
InputStreamReadercorresponding to the csv file, or null if the file cannot be read
-
loadFieldsImpl
default String loadFieldsImpl(ICsvInputAwareMeta meta, int samples)
-
getCsvImportProgressDialog
ICsvInputAwareImportProgressDialog getCsvImportProgressDialog(ICsvInputAwareMeta meta, int samples, InputStreamReader reader)
-
logError
default void logError(String message)
-
getLogChannel
LogChannel getLogChannel()
-
getPipelineMeta
PipelineMeta getPipelineMeta()
-
getVariables
IVariables getVariables()
-
-