org.apache.hadoop.mapred.InputFormatpublic 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 | Description |
|---|---|
AutoInputFormat() |
| Modifier and Type | Method | 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 java.io.IOException
getRecordReader in interface org.apache.hadoop.mapred.InputFormatgetRecordReader in class org.apache.hadoop.mapred.FileInputFormatjava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.