@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
IOException
protected int fillBuffer(InputStream in, byte[] buffer, boolean inDelimiter) throws IOException
fillBuffer
in class org.apache.hadoop.util.LineReader
IOException
public int readLine(org.apache.hadoop.io.Text str, int maxLineLength, int maxBytesToConsume) throws IOException
readLine
in class org.apache.hadoop.util.LineReader
IOException
public boolean needAdditionalRecordAfterSplit()
needAdditionalRecordAfterSplit
in class SplitLineReader
protected void unsetNeedAdditionalRecordAfterSplit()
unsetNeedAdditionalRecordAfterSplit
in class org.apache.hadoop.util.LineReader
Copyright © 2017 Apache Software Foundation. All Rights Reserved.