|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.lib.MultipleInputs
MultipleInputs
instead
@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class MultipleInputs
This class supports MapReduce jobs that have multiple input paths with
a different InputFormat
and Mapper
for each path
Constructor Summary | |
---|---|
MultipleInputs()
Deprecated. |
Method Summary | |
---|---|
static void |
addInputPath(JobConf conf,
org.apache.hadoop.fs.Path path,
Class<? extends InputFormat> inputFormatClass)
Deprecated. Add a Path with a custom InputFormat to the list of
inputs for the map-reduce job. |
static void |
addInputPath(JobConf conf,
org.apache.hadoop.fs.Path path,
Class<? extends InputFormat> inputFormatClass,
Class<? extends Mapper> mapperClass)
Deprecated. Add a Path with a custom InputFormat and
Mapper to the list of inputs for the map-reduce job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipleInputs()
Method Detail |
---|
public static void addInputPath(JobConf conf, org.apache.hadoop.fs.Path path, Class<? extends InputFormat> inputFormatClass)
Path
with a custom InputFormat
to the list of
inputs for the map-reduce job.
conf
- The configuration of the jobpath
- Path
to be added to the list of inputs for the jobinputFormatClass
- InputFormat
class to use for this pathpublic static void addInputPath(JobConf conf, org.apache.hadoop.fs.Path path, Class<? extends InputFormat> inputFormatClass, Class<? extends Mapper> mapperClass)
Path
with a custom InputFormat
and
Mapper
to the list of inputs for the map-reduce job.
conf
- The configuration of the jobpath
- Path
to be added to the list of inputs for the jobinputFormatClass
- InputFormat
class to use for this pathmapperClass
- Mapper
class to use for this path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |