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, spatialOperationConfiginputDataSets, miConfargsp, 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, setupPartitioningResultaddInputDataSet, asMultiInputDataSet, configureInputs, configureInputs, getInputListCmdOptions, getInputs, getMultipleInputDataSetsParams, removeInputDataSet, setInputDataSets, updateInputDataSetaddJobRegistryEntry, 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, setSpatialConfigprotected InputDataSetConfiguratorHandler getInputDataSetConfiguratorHandler(org.apache.hadoop.conf.Configuration conf)
BaseJobInputDataSetConfiguratorHandler used to configure the input data setgetInputDataSetConfiguratorHandler in class SpatialJoinconf - 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.Toolrun in class SpatialJoinjava.lang.Exception
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.