public class TextRecordReader extends java.lang.Object implements RecordReader
| Constructor and Description |
|---|
TextRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Writable |
createRow() |
void |
initialize(java.io.InputStream in,
Configuration conf,
java.util.Properties tbl) |
int |
next(Writable row)
Returns the number of bytes that we consumed.
|
public void initialize(java.io.InputStream in,
Configuration conf,
java.util.Properties tbl)
throws java.io.IOException
initialize in interface RecordReaderjava.io.IOExceptionpublic Writable createRow()
throws java.io.IOException
createRow in interface RecordReaderjava.io.IOExceptionpublic int next(Writable row)
throws java.io.IOException
RecordReadernext in interface RecordReaderjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface RecordReaderjava.io.IOExceptionCopyright © 2012 The Apache Software Foundation