@InterfaceAudience.Public @InterfaceStability.Stable public class MultipleInputs extends Object
InputFormat and Mapper for each path| 修飾子とタイプ | フィールドと説明 | 
|---|---|
| static String | DIR_FORMATS | 
| static String | DIR_MAPPERS | 
| コンストラクタと説明 | 
|---|
| MultipleInputs() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| static void | addInputPath(Job job,
            Path path,
            Class<? extends InputFormat> inputFormatClass)Add a  Pathwith a customInputFormatto the list of
 inputs for the map-reduce job. | 
| static void | addInputPath(Job job,
            Path path,
            Class<? extends InputFormat> inputFormatClass,
            Class<? extends Mapper> mapperClass) | 
public static final String DIR_FORMATS
public static final String DIR_MAPPERS
public MultipleInputs()
public static void addInputPath(Job job, Path path, Class<? extends InputFormat> inputFormatClass)
Path with a custom InputFormat to the list of
 inputs for the map-reduce job.job - The Jobpath - Path to be added to the list of inputs for the jobinputFormatClass - InputFormat class to use for this pathpublic static void addInputPath(Job job, Path path, Class<? extends InputFormat> inputFormatClass, Class<? extends Mapper> mapperClass)
job - 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 pathCopyright © 2016 Apache Software Foundation. All rights reserved.