public class BulkLoadCsvParser extends BulkLoadParser
| Constructor and Description |
|---|
BulkLoadCsvParser(BulkLoadCsvFormat format)
Creates bulk load CSV parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<List<Object>> |
parseBatch(byte[] batchData,
boolean isLastBatch)
Parses a batch of input data and returns a list of records parsed
(in most cases this is a list of strings).
|
createParserpublic BulkLoadCsvParser(BulkLoadCsvFormat format)
format - Format options (parsed from COPY command).protected Iterable<List<Object>> parseBatch(byte[] batchData, boolean isLastBatch) throws IgniteCheckedException
Note that conversion between parsed and database table type is done by the other
object (see BulkLoadProcessor.dataConverter) by the request processing code.
This method is not obliged to do this conversion.
parseBatch in class BulkLoadParserbatchData - Data from the current batch.isLastBatch - true if this is the last batch.IgniteCheckedException - If any processing error occurs.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020