@InterfaceAudience.Public @InterfaceStability.Stable public class SequenceFileAsTextInputFormat extends SequenceFileInputFormat<Text,Text>
FileInputFormat.Counter| 构造器和说明 |
|---|
SequenceFileAsTextInputFormat() |
| 限定符和类型 | 方法和说明 |
|---|---|
RecordReader<Text,Text> |
createRecordReader(InputSplit split,
TaskAttemptContext context)
Create a record reader for a given split.
|
getFormatMinSplitSize, listStatusaddInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSizepublic RecordReader<Text,Text> createRecordReader(InputSplit split, TaskAttemptContext context) throws IOException
InputFormatRecordReader.initialize(InputSplit, TaskAttemptContext) before
the split is used.createRecordReader 在类中 SequenceFileInputFormat<Text,Text>split - the split to be readcontext - the information about the taskIOExceptionCopyright © 2009 The Apache Software Foundation