|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.impl.io.PigLineRecordReader.Reader
org.apache.pig.impl.io.PigLineRecordReader.LineReader
public static class PigLineRecordReader.LineReader
This is a simple implementation of LineReader without buffering
Field Summary | |
---|---|
protected long |
end
Ending offset until which the buffer can be read. |
protected int |
maxLineLength
Maximum line length expected in the input file |
protected long |
start
Starting offset of the buffer to be read |
Fields inherited from class org.apache.pig.impl.io.PigLineRecordReader.Reader |
---|
os, OS_UNIX, OS_WINDOWS |
Method Summary | |
---|---|
boolean |
getNext(org.apache.hadoop.io.Text value)
Provides next line read from InputStream |
long |
getPosition()
Returns the position of current Buffer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected long start
protected long end
protected int maxLineLength
Method Detail |
---|
public boolean getNext(org.apache.hadoop.io.Text value) throws IOException
PigLineRecordReader.Reader
getNext
in class PigLineRecordReader.Reader
value
- Text the the line is supposed to be returned in
IOException
public long getPosition() throws IOException
PigLineRecordReader.Reader
getPosition
in class PigLineRecordReader.Reader
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |