public class AutoInputFormat extends FileInputFormat
InputFormat that tries to deduce the types of the input files
automatically. It can currently handle text and sequence files.FileInputFormat.CounterINPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES| Constructor and Description |
|---|
AutoInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(JobConf job) |
RecordReader |
getRecordReader(InputSplit split,
JobConf job,
Reporter reporter) |
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, makeSplit, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSizepublic void configure(JobConf job)
public RecordReader getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
getRecordReader in interface InputFormatgetRecordReader in class FileInputFormatIOExceptionCopyright © 2018 CERN. All Rights Reserved.