public class ArcInputFormat extends FileInputFormat<Text,BytesWritable>
FileInputFormat.Counter
DEFAULT_LIST_STATUS_NUM_THREADS, INPUT_DIR, INPUT_DIR_NONRECURSIVE_IGNORE_SUBDIRS, INPUT_DIR_RECURSIVE, LIST_STATUS_NUM_THREADS, NUM_INPUT_FILES, PATHFILTER_CLASS, SPLIT_MAXSIZE, SPLIT_MINSIZE
Constructor and Description |
---|
ArcInputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordReader<Text,BytesWritable> |
createRecordReader(InputSplit split,
TaskAttemptContext context) |
RecordReader<Text,BytesWritable> |
getRecordReader(InputSplit split,
Job job,
Mapper.Context context)
Returns the
RecordReader for reading the arc file. |
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, isSplitable, listStatus, makeSplit, makeSplit, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSize
public RecordReader<Text,BytesWritable> createRecordReader(InputSplit split, TaskAttemptContext context)
createRecordReader
in class InputFormat<Text,BytesWritable>
public RecordReader<Text,BytesWritable> getRecordReader(InputSplit split, Job job, Mapper.Context context) throws IOException
RecordReader
for reading the arc file.split
- The InputSplit of the arc file to process.job
- The job configuration.context
- The task context.IOException
Copyright © 2021 The Apache Software Foundation