@Deprecated public class GuaguaSequenceAsBinaryRecordReader extends GuaguaSequenceRecordReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
BytesWritable.
Copy some code from SequenceFileAsBinaryInputFormat but to support
GuaguaRecordReader interface.
If use default constructor, user should also call GuaguaSequenceRecordReader.initialize(GuaguaFileSplit) like in below:
this.setRecordReader(new GuaguaSequenceAsBinaryRecordReader()); this.getRecordReader().initialize(fileSplit);or directly use other constructors:
this.setRecordReader(new GuaguaSequenceAsBinaryRecordReader(fileSplit));
| Constructor and Description |
|---|
GuaguaSequenceAsBinaryRecordReader()
Deprecated.
|
GuaguaSequenceAsBinaryRecordReader(org.apache.hadoop.conf.Configuration conf,
ml.shifu.guagua.io.GuaguaFileSplit split)
Deprecated.
|
GuaguaSequenceAsBinaryRecordReader(ml.shifu.guagua.io.GuaguaFileSplit split)
Deprecated.
|
close, getCurrentKey, getCurrentValue, getProgress, initialize, nextKeyValuepublic GuaguaSequenceAsBinaryRecordReader()
throws IOException
IOExceptionpublic GuaguaSequenceAsBinaryRecordReader(ml.shifu.guagua.io.GuaguaFileSplit split)
throws IOException
IOExceptionpublic GuaguaSequenceAsBinaryRecordReader(org.apache.hadoop.conf.Configuration conf,
ml.shifu.guagua.io.GuaguaFileSplit split)
throws IOException
IOExceptionCopyright © 2019. All Rights Reserved.