public class StreamXmlRecordReader extends StreamBaseRecordReader
LOG| Constructor and Description |
|---|
StreamXmlRecordReader(FSDataInputStream in,
FileSplit split,
Reporter reporter,
JobConf job,
FileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
boolean |
next(Text key,
Text value)
Read a record.
|
void |
seekNextRecordBoundary()
Implementation should seek forward in_ to the first byte of the next record.
|
close, createKey, createValue, getPos, getProgresspublic StreamXmlRecordReader(FSDataInputStream in, FileSplit split, Reporter reporter, JobConf job, FileSystem fs) throws IOException
IOExceptionpublic void init()
throws IOException
IOExceptionpublic boolean next(Text key, Text value) throws IOException
StreamBaseRecordReadernext in interface RecordReader<Text,Text>next in class StreamBaseRecordReaderIOExceptionpublic void seekNextRecordBoundary()
throws IOException
StreamBaseRecordReaderseekNextRecordBoundary in class StreamBaseRecordReaderIOExceptionCopyright © 2018 CERN. All Rights Reserved.