public class Partitioning extends Partitioning
Partitioning.setSamplingRatio(double)
property (by default it is set to 0.1).PARTITION_RESULT_FILE
Constructor and Description |
---|
Partitioning() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Job job)
Validates and adds the current parameters to the job configuration
|
static void |
main(java.lang.String[] args) |
int |
run(java.lang.String[] args) |
boolean |
runFullPartitioningProcess(Job job)
Runs the full partitioning process.
|
getCmdOptions, getCurrentCmdArgs, getPartitionsPath, getSamplingRatio, processArgs, setSamplingRatio
addInputDataSet, getInputs, getMultipleInputDataSetsParams, removeInputDataSet, setInputDataSets
getCmdOptionsWithInputDataSets, getCurrentCmdArgsAsString, getInput, getInputDataSet, getInputFormatClass, getJarClass, getOutput, getRecordInfoProviderClass, getSpatialConfig, setInput, setInputDataSet, setInputFormatClass, setJarClass, setOutput, setRecordInfoProviderClass, setSpatialConfig
public void configure(Job job) throws java.lang.Exception
BaseJob
configure
in class Partitioning
job
- a job instancejava.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public int run(java.lang.String[] args) throws java.lang.Exception
run
in class Partitioning
java.lang.Exception
public boolean runFullPartitioningProcess(Job job) throws java.lang.Exception
runFullPartitioningProcess
in class Partitioning
job
- a jobjava.lang.Exception
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.