public class TextRecordReader extends Object implements RecordReader
| Constructor and Description |
|---|
TextRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.hadoop.io.Writable |
createRow() |
void |
initialize(InputStream in,
org.apache.hadoop.conf.Configuration conf,
Properties tbl) |
int |
next(org.apache.hadoop.io.Writable row)
Returns the number of bytes that we consumed.
|
public void initialize(InputStream in, org.apache.hadoop.conf.Configuration conf, Properties tbl) throws IOException
initialize in interface RecordReaderIOExceptionpublic org.apache.hadoop.io.Writable createRow()
throws IOException
createRow in interface RecordReaderIOExceptionpublic int next(org.apache.hadoop.io.Writable row)
throws IOException
RecordReadernext in interface RecordReaderIOExceptionpublic void close()
throws IOException
close in interface RecordReaderIOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.