|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.LineRecordReader.LineReader
public static class LineRecordReader.LineReader
A class that provides a line reader from an input stream.
| Method Summary | |
|---|---|
void |
close()
Close the underlying stream. |
int |
readLine(Text str)
Read from the InputStream into the given Text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void close()
throws IOException
IOException
public int readLine(Text str)
throws IOException
str - the object to store the given line
IOException - if the underlying stream throws
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||