public class SpatialJoin extends SpatialJoin
Partitioning
is required to perform the spatial join. A spatial join can be executed as follows:
SpatialJoin
instancepreprocess(Job)
configure(Job)
SpatialJoin.preprocess(JobConf)
.JOIN_FOLDER, PARTITIONING_FOLDER, partitioningResultPath, samplingRatio, spatialOperationConfig
inputDataSets, miConf
argsp, inputDataSet, jarClass, jobRegEntryPath, proxyIDS
Constructor and Description |
---|
SpatialJoin() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.mapreduce.Job job)
Validates and adds the current parameters to the job configuration
|
protected InputDataSetConfiguratorHandler |
getInputDataSetConfiguratorHandler(org.apache.hadoop.conf.Configuration conf)
Returns the current instance of
InputDataSetConfiguratorHandler used to configure the input data set |
static void |
main(java.lang.String[] args) |
boolean |
preprocess(org.apache.hadoop.mapreduce.Job job) |
int |
run(java.lang.String[] args) |
configure, defineGlobaBounds, getCmdOptions, getCurrentCmdArgs, getInputDataSetCmdParserHandler, getOutput, getPartitioningResultPath, getRootOutput, getSamplingRatio, getSpatialOperationConfig, isPartitioningRequired, preprocess, processArgs, setPartitioningResultPath, setSamplingRatio, setSpatialOperationConfig, setupPartitioningResult
addInputDataSet, asMultiInputDataSet, configureInputs, configureInputs, getInputListCmdOptions, getInputs, getMultipleInputDataSetsParams, removeInputDataSet, setInputDataSets, updateInputDataSet
addJobRegistryEntry, addJobRegistryEntry, addJobRegistryEntry, createJob, createJob, createJob, createJob, createJobConf, createJobConf, createJobConf, getCmdOptionsWithInputDataSets, getCmdOptionsWithInputDataSets, getCurrentCmdArgsAsString, getCurrentCmdArgsAsString, getInput, getInputDataSet, getInputFormatClass, getJarClass, getRecordInfoProviderClass, getSpatialConfig, runJob, runJob, setInput, setInputDataSet, setInputFormatClass, setJarClass, setOutput, setRecordInfoProviderClass, setSpatialConfig
protected InputDataSetConfiguratorHandler getInputDataSetConfiguratorHandler(org.apache.hadoop.conf.Configuration conf)
BaseJob
InputDataSetConfiguratorHandler
used to configure the input data setgetInputDataSetConfiguratorHandler
in class SpatialJoin
conf
- a job configurationInputDataSetConfiguratorHandler
public void configure(org.apache.hadoop.mapreduce.Job job) throws java.lang.Exception
BaseJob
public boolean preprocess(org.apache.hadoop.mapreduce.Job job) throws java.lang.Exception
java.lang.Exception
public int run(java.lang.String[] args) throws java.lang.Exception
run
in interface org.apache.hadoop.util.Tool
run
in class SpatialJoin
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.