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