|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.FileInputFormat
org.apache.hadoop.streaming.AutoInputFormat
public class AutoInputFormat
An InputFormat
that tries to deduce the types of the input files
automatically. It can currently handle text and sequence files.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileInputFormat |
---|
org.apache.hadoop.mapred.FileInputFormat.Counter |
Field Summary |
---|
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat |
---|
INPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES |
Constructor Summary | |
---|---|
AutoInputFormat()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.apache.hadoop.mapred.FileInputFormat |
---|
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, listStatus, makeSplit, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoInputFormat()
Method Detail |
---|
public 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.InputFormat
getRecordReader
in class org.apache.hadoop.mapred.FileInputFormat
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |