public abstract class MultipleInputsJob extends BaseJob<java.lang.Object,java.lang.Object>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<InputDataSet> |
inputDataSets |
protected MultipleInputsConfig |
miConf |
Constructor and Description |
---|
MultipleInputsJob() |
Modifier and Type | Method and Description |
---|---|
void |
addInputDataSet(InputDataSet input) |
void |
configure(org.apache.hadoop.mapreduce.Job job) |
void |
configure(org.apache.hadoop.mapred.JobConf jobConf)
Validates and adds the current parameters to the job configuration
|
protected void |
configureInputs(org.apache.hadoop.mapreduce.Job job) |
protected void |
configureInputs(org.apache.hadoop.mapred.JobConf jobConf) |
java.lang.String |
getCmdOptions()
Gets a description of the arguments expected from command line.
|
protected java.lang.String |
getInputListCmdOptions(int min, int max) |
java.util.List<InputDataSet> |
getInputs() |
static java.lang.String[][] |
getMultipleInputDataSetsParams(java.lang.String inputDataSetListStr) |
void |
processArgs(java.lang.String[] args, org.apache.hadoop.conf.Configuration conf)
Extracts and validates arguments from the command line
|
boolean |
removeInputDataSet(InputDataSet input) |
void |
setInputDataSets(java.util.List<InputDataSet> inputs) |
createJob, createJob, createJob, createJob, createJobConf, createJobConf, createJobConf, getInput, getInputFormatClass, getJarClass, getOutput, getRecordInfoProviderClass, getSpatialConfig, setInput, setInputFormatClass, setJarClass, setOutput, setRecordInfoProviderClass, setSpatialConfig
protected java.util.List<InputDataSet> inputDataSets
protected MultipleInputsConfig miConf
public java.util.List<InputDataSet> getInputs()
public void setInputDataSets(java.util.List<InputDataSet> inputs)
public void addInputDataSet(InputDataSet input)
public boolean removeInputDataSet(InputDataSet input)
public static java.lang.String[][] getMultipleInputDataSetsParams(java.lang.String inputDataSetListStr)
public void processArgs(java.lang.String[] args, org.apache.hadoop.conf.Configuration conf) throws java.lang.Exception
BaseJob
processArgs
in class BaseJob<java.lang.Object,java.lang.Object>
args
- arguments from the command lineconf
- the job configurationjava.lang.Exception
public java.lang.String getCmdOptions()
BaseJob
getCmdOptions
in class BaseJob<java.lang.Object,java.lang.Object>
protected java.lang.String getInputListCmdOptions(int min, int max)
public void configure(org.apache.hadoop.mapred.JobConf jobConf) throws java.lang.Exception
BaseJob
public void configure(org.apache.hadoop.mapreduce.Job job) throws java.lang.Exception
protected void configureInputs(org.apache.hadoop.mapreduce.Job job) throws java.lang.Exception
java.lang.Exception
protected void configureInputs(org.apache.hadoop.mapred.JobConf jobConf) throws java.lang.Exception
java.lang.Exception