public class StreamInputFormat extends KeyValueTextInputFormat
FileInputFormat.CounterLOG| 构造器和说明 |
|---|
StreamInputFormat() |
| 限定符和类型 | 方法和说明 |
|---|---|
RecordReader<Text,Text> |
getRecordReader(InputSplit genericSplit,
JobConf job,
Reporter reporter)
Get the
RecordReader for the given InputSplit. |
configure, isSplitableaddInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSizepublic RecordReader<Text,Text> getRecordReader(InputSplit genericSplit, JobConf job, Reporter reporter) throws IOException
InputFormatRecordReader 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<Text,Text>getRecordReader 在类中 KeyValueTextInputFormatgenericSplit - the InputSplitjob - the job that this split belongs toRecordReaderIOExceptionCopyright © 2009 The Apache Software Foundation