K - the type of the input keysV - the type of the input valuespublic class Binning<K,V> extends IndexedInputBaseJob<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ARG_AGGR_FIELDS |
protected static java.lang.String |
ARG_CELL_SHAPE |
protected static java.lang.String |
ARG_CELL_SIZE |
protected static java.lang.String |
ARG_GRID_MBR |
protected BinningConfig |
binConf |
protected static java.lang.String |
RESULT_FILE_NAME |
| Constructor and Description |
|---|
Binning() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.hadoop.mapred.JobConf jobConf)
Validates and adds the current parameters to the job configuration
|
BinningConfig |
getBinConf()
Gets the binning configuration
|
java.lang.String |
getCmdOptions()
Gets a description of the arguments expected from command line.
|
static void |
main(java.lang.String[] args) |
void |
processArgs(java.lang.String[] args, org.apache.hadoop.conf.Configuration conf)
Extracts and validates arguments from the command line
|
int |
run(java.lang.String[] args) |
void |
setBinConf(BinningConfig binConf)
Sets the binning configuration
|
configure, getIndexMetadataDir, getIndexName, isInputIndex, setIndexMetadataDir, setIndexName, setInputIndexcreateJob, createJob, createJob, createJob, createJobConf, createJobConf, createJobConf, getInput, getInputFormatClass, getJarClass, getOutput, getRecordInfoProviderClass, getSpatialConfig, setInput, setInputFormatClass, setJarClass, setOutput, setRecordInfoProviderClass, setSpatialConfigprotected static final java.lang.String ARG_CELL_SIZE
protected static final java.lang.String ARG_GRID_MBR
protected static final java.lang.String ARG_AGGR_FIELDS
protected static final java.lang.String ARG_CELL_SHAPE
protected static final java.lang.String RESULT_FILE_NAME
protected BinningConfig binConf
public BinningConfig getBinConf()
public void setBinConf(BinningConfig binConf)
binConf - a binning configuration
public void processArgs(java.lang.String[] args,
org.apache.hadoop.conf.Configuration conf)
BaseJobprocessArgs in class IndexedInputBaseJob<K,V>args - arguments from the command lineconf - the job configurationpublic java.lang.String getCmdOptions()
BaseJobgetCmdOptions in class IndexedInputBaseJob<K,V>
public void configure(org.apache.hadoop.mapred.JobConf jobConf)
throws java.lang.Exception
BaseJobconfigure in class IndexedInputBaseJob<K,V>jobConf - the job configurationjava.lang.Exception
public int run(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception