public class ArcInputFormat extends FileInputFormat<Text,BytesWritable>
FileInputFormat.Counter
LOG
Constructor and Description |
---|
ArcInputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordReader<Text,BytesWritable> |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter)
Returns the
RecordReader for reading the arc file. |
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize
public RecordReader<Text,BytesWritable> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
RecordReader
for reading the arc file.getRecordReader
in interface InputFormat<Text,BytesWritable>
getRecordReader
in class FileInputFormat<Text,BytesWritable>
split
- The InputSplit of the arc file to process.job
- The job configuration.reporter
- The progress reporter.IOException
Copyright © 2015 The Apache Software Foundation