@InterfaceAudience.Public @InterfaceStability.Unstable public class CsvParser extends Object
Constructor and Description |
---|
CsvParser(String columnsSpecification,
String separatorStr) |
Modifier and Type | Method and Description |
---|---|
org.kududb.mapreduce.tools.CsvParser.ParsedLine |
parse(byte[] lineBytes,
int length)
Creates a ParsedLine of a line of data.
|
public org.kududb.mapreduce.tools.CsvParser.ParsedLine parse(byte[] lineBytes, int length) throws org.kududb.mapreduce.tools.CsvParser.BadCsvLineException
lineBytes
- Whole line as a byte array.length
- How long the line really is in the byte arrayorg.kududb.mapreduce.tools.CsvParser.BadCsvLineException
Copyright © 2016. All rights reserved.