public class LineDocInputFormat extends FileInputFormat<DocumentID,LineDocTextAndOp>
LOG| Constructor and Description |
|---|
LineDocInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
RecordReader<DocumentID,LineDocTextAndOp> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Get the
RecordReader for the given InputSplit. |
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSizepublic RecordReader<DocumentID,LineDocTextAndOp> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws java.io.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<DocumentID,LineDocTextAndOp>getRecordReader in class FileInputFormat<DocumentID,LineDocTextAndOp>split - the InputSplitjob - the job that this split belongs toRecordReaderjava.io.IOExceptionCopyright © 2009 The Apache Software Foundation