public class AutoInputFormat
extends org.apache.hadoop.mapred.FileInputFormat
InputFormat that tries to deduce the types of the input files
automatically. It can currently handle text and sequence files.| Constructor and Description |
|---|
AutoInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.hadoop.mapred.JobConf job) |
org.apache.hadoop.mapred.RecordReader |
getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter) |
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, makeSplit, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSizepublic void configure(org.apache.hadoop.mapred.JobConf job)
public org.apache.hadoop.mapred.RecordReader getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
getRecordReader in interface org.apache.hadoop.mapred.InputFormatgetRecordReader in class org.apache.hadoop.mapred.FileInputFormatIOExceptionCopyright © 2020 Apache Software Foundation. All rights reserved.