@InterfaceAudience.Public @InterfaceStability.Stable public class SequenceFileAsBinaryInputFormat extends SequenceFileInputFormat<BytesWritable,BytesWritable>
限定符和类型 | 类和说明 |
---|---|
static class |
SequenceFileAsBinaryInputFormat.SequenceFileAsBinaryRecordReader
Read records from a SequenceFile as binary (raw) bytes.
|
FileInputFormat.Counter
构造器和说明 |
---|
SequenceFileAsBinaryInputFormat() |
限定符和类型 | 方法和说明 |
---|---|
RecordReader<BytesWritable,BytesWritable> |
createRecordReader(InputSplit split,
TaskAttemptContext context)
Create a record reader for a given split.
|
getFormatMinSplitSize, listStatus
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
public RecordReader<BytesWritable,BytesWritable> createRecordReader(InputSplit split, TaskAttemptContext context) throws IOException
InputFormat
RecordReader.initialize(InputSplit, TaskAttemptContext)
before
the split is used.createRecordReader
在类中 SequenceFileInputFormat<BytesWritable,BytesWritable>
split
- the split to be readcontext
- the information about the taskIOException
Copyright © 2009 The Apache Software Foundation