public class ArcInputFormat extends FileInputFormat<Text,BytesWritable>
FileInputFormat.Counter
INPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES
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, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, makeSplit, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize
public RecordReader<Text,BytesWritable> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws java.io.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.java.io.IOException
Copyright © 2019 The Apache Software Foundation