@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(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 IOException
IOExceptionprotected int fillBuffer(InputStream in, byte[] buffer, boolean inDelimiter) throws IOException
fillBuffer in class org.apache.hadoop.util.LineReaderIOExceptionpublic int readLine(org.apache.hadoop.io.Text str,
int maxLineLength,
int maxBytesToConsume)
throws IOException
readLine in class org.apache.hadoop.util.LineReaderIOExceptionpublic boolean needAdditionalRecordAfterSplit()
needAdditionalRecordAfterSplit in class SplitLineReaderprotected void unsetNeedAdditionalRecordAfterSplit()
unsetNeedAdditionalRecordAfterSplit in class org.apache.hadoop.util.LineReaderCopyright © 2008–2022 Apache Software Foundation. All rights reserved.