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 |
argsp, inputDataSet, jarClass, jobRegEntryPath, proxyIDS
Constructor and Description |
---|
MultipleInputsJob()
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
addInputDataSet(InputDataSet input) |
protected MultiInputDataSet |
asMultiInputDataSet(java.util.List<InputDataSet> dataSets) |
protected void |
configureInputs(org.apache.hadoop.mapreduce.Job job) |
protected void |
configureInputs(org.apache.hadoop.mapred.JobConf jobConf) |
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) |
protected void |
updateInputDataSet() |
addJobRegistryEntry, addJobRegistryEntry, addJobRegistryEntry, configure, configure, createJob, createJob, createJob, createJob, createJobConf, createJobConf, createJobConf, getCmdOptions, getCmdOptionsWithInputDataSets, getCmdOptionsWithInputDataSets, getCurrentCmdArgs, getCurrentCmdArgsAsString, getCurrentCmdArgsAsString, getInput, getInputDataSet, getInputDataSetCmdParserHandler, getInputDataSetConfiguratorHandler, getInputFormatClass, getJarClass, getOutput, getRecordInfoProviderClass, getSpatialConfig, runJob, runJob, setInput, setInputDataSet, 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
protected java.lang.String getInputListCmdOptions(int min, int max)
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
protected MultiInputDataSet asMultiInputDataSet(java.util.List<InputDataSet> dataSets)
protected void updateInputDataSet()
updateInputDataSet
in class BaseJob<java.lang.Object,java.lang.Object>
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.