@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, listStatus
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
public RecordReader<Text,Text> createRecordReader(InputSplit split, TaskAttemptContext context) throws IOException
InputFormat
RecordReader.initialize(InputSplit, TaskAttemptContext)
before
the split is used.createRecordReader
在类中 SequenceFileInputFormat<Text,Text>
split
- the split to be readcontext
- the information about the taskIOException
Copyright © 2009 The Apache Software Foundation