@InterfaceAudience.Private @InterfaceStability.Unstable public class UncompressedSplitLineReader extends SplitLineReader
| Constructor and Description |
|---|
UncompressedSplitLineReader(org.apache.hadoop.fs.FSDataInputStream in,
org.apache.hadoop.conf.Configuration conf,
byte[] recordDelimiterBytes,
long splitLength) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
fillBuffer(java.io.InputStream in,
byte[] buffer,
boolean inDelimiter) |
boolean |
needAdditionalRecordAfterSplit() |
int |
readLine(org.apache.hadoop.io.Text str,
int maxLineLength,
int maxBytesToConsume) |
protected void |
unsetNeedAdditionalRecordAfterSplit() |
public UncompressedSplitLineReader(org.apache.hadoop.fs.FSDataInputStream in,
org.apache.hadoop.conf.Configuration conf,
byte[] recordDelimiterBytes,
long splitLength)
throws java.io.IOException
java.io.IOExceptionprotected int fillBuffer(java.io.InputStream in,
byte[] buffer,
boolean inDelimiter)
throws java.io.IOException
fillBuffer in class org.apache.hadoop.util.LineReaderjava.io.IOExceptionpublic int readLine(org.apache.hadoop.io.Text str,
int maxLineLength,
int maxBytesToConsume)
throws java.io.IOException
readLine in class org.apache.hadoop.util.LineReaderjava.io.IOExceptionpublic boolean needAdditionalRecordAfterSplit()
needAdditionalRecordAfterSplit in class SplitLineReaderprotected void unsetNeedAdditionalRecordAfterSplit()
unsetNeedAdditionalRecordAfterSplit in class org.apache.hadoop.util.LineReaderCopyright © 2009 The Apache Software Foundation