public class StreamInputFormat extends KeyValueTextInputFormat
FileInputFormat.CounterINPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES| Constructor and Description |
|---|
StreamInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
RecordReader<Text,Text> |
getRecordReader(InputSplit genericSplit,
JobConf job,
Reporter reporter)
Get the
RecordReader for the given InputSplit. |
configure, isSplitableaddInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, listStatus, makeSplit, 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 in interface InputFormat<Text,Text>getRecordReader in class KeyValueTextInputFormatgenericSplit - the InputSplitjob - the job that this split belongs toRecordReaderIOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.