@Deprecated public class LegacyCsvImporter extends LineBasedImporter
CsvImporter that extends
LineBasedImporter. This shouldn't be used anymore. It only still
exists for debugging and performance comparisons.useOptimizedSplitPathlogANNOTATE_DATA_SOURCE_OPTION_NAME, concourse, DATA_SOURCE_ANNOTATION_KEY, params| Modifier | Constructor and Description |
|---|---|
|
LegacyCsvImporter(Concourse concourse)
Deprecated.
Construct a new instance.
|
protected |
LegacyCsvImporter(Concourse concourse,
Logger log)
Deprecated.
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
delimiter()
Deprecated.
The delimiter that is used to split fields on each line.
|
protected void |
validateFileFormat(String line)
Deprecated.
Check
line to determine if is valid for the the file format that
is supported by the importer. |
header, importFile, importFile, transformValueimportJsonString, importString, upsertJsonStringpublic LegacyCsvImporter(Concourse concourse)
concourse - protected LegacyCsvImporter(Concourse concourse,
Logger log)
concourse - log - protected String delimiter()
LineBasedImporterdelimiter in class LineBasedImporterprotected void validateFileFormat(String line) throws IllegalArgumentException
LineBasedImporterline to determine if is valid for the the file format that
is supported by the importer.validateFileFormat in class LineBasedImporterline - is a line of the file being importedIllegalArgumentException - if the line from the file is
not acceptable for the file format