public class RecordParser
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RecordParser.ParseError
An error thrown when parsing fails.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
RecordParser(DelimiterSet delimitersIn) |
Modifier and Type | Method and Description |
---|---|
int |
hashCode() |
boolean |
isEnclosingRequired() |
java.util.List<java.lang.String> |
parseRecord(byte[] input)
Return a list of strings representing the fields of the input line.
|
java.util.List<java.lang.String> |
parseRecord(java.nio.ByteBuffer input) |
java.util.List<java.lang.String> |
parseRecord(char[] input)
Return a list of strings representing the fields of the input line.
|
java.util.List<java.lang.String> |
parseRecord(java.nio.CharBuffer input)
Return a list of strings representing the fields of the input line.
|
java.util.List<java.lang.String> |
parseRecord(java.lang.CharSequence input)
Return a list of strings representing the fields of the input line.
|
java.util.List<java.lang.String> |
parseRecord(org.apache.hadoop.io.Text input)
Return a list of strings representing the fields of the input line.
|
java.lang.String |
toString() |
public RecordParser(DelimiterSet delimitersIn)
public java.util.List<java.lang.String> parseRecord(java.lang.CharSequence input) throws RecordParser.ParseError
RecordParser.ParseError
public java.util.List<java.lang.String> parseRecord(org.apache.hadoop.io.Text input) throws RecordParser.ParseError
RecordParser.ParseError
public java.util.List<java.lang.String> parseRecord(byte[] input) throws RecordParser.ParseError
RecordParser.ParseError
public java.util.List<java.lang.String> parseRecord(char[] input) throws RecordParser.ParseError
RecordParser.ParseError
public java.util.List<java.lang.String> parseRecord(java.nio.ByteBuffer input) throws RecordParser.ParseError
RecordParser.ParseError
public java.util.List<java.lang.String> parseRecord(java.nio.CharBuffer input) throws RecordParser.ParseError
RecordParser.ParseError
public boolean isEnclosingRequired()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2015 The Apache Software Foundation