public class SequenceFileAsBinaryInputFormat extends SequenceFileInputFormat<BytesWritable,BytesWritable>
限定符和类型 | 类和说明 |
---|---|
static class |
SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader
Read records from a SequenceFile as binary (raw) bytes.
|
FileInputFormat.Counter
LOG
构造器和说明 |
---|
SequenceFileAsBinaryInputFormat() |
限定符和类型 | 方法和说明 |
---|---|
RecordReader<BytesWritable,BytesWritable> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Get the
RecordReader for the given InputSplit . |
listStatus
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize
public RecordReader<BytesWritable,BytesWritable> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
InputFormat
RecordReader
for the given InputSplit
.
It is the responsibility of the RecordReader
to respect
record boundaries while processing the logical split to present a
record-oriented view to the individual task.
getRecordReader
在接口中 InputFormat<BytesWritable,BytesWritable>
getRecordReader
在类中 SequenceFileInputFormat<BytesWritable,BytesWritable>
split
- the InputSplit
job
- the job that this split belongs toRecordReader
IOException
Copyright © 2009 The Apache Software Foundation