Package | Description |
---|---|
oracle.spatial.hadoop.vector.partition |
Classes used to perform spatial partitioning
|
Modifier and Type | Method and Description |
---|---|
static PartitioningResult |
PartitioningUtils.loadPartitioningResult(Path partResPath, Configuration conf)
Returns an object representation of a partitioning result file
|
static PartitioningResult |
PartitioningUtils.loadPartitioningResultFromDistCache(Configuration conf)
Returns an object representation of a partitioning result file contained in the distributed cache.
|
Modifier and Type | Method and Description |
---|---|
static int |
PartitioningUtils.calculateNumReduceTasks(PartitioningResult partitioning)
Calculates how many reduce tasks are needed to process the partitions defined in a partitioning result file
|
static java.util.Map<java.lang.String,java.lang.Integer> |
PartitioningUtils.createPartitionsToReducersMap(PartitioningResult partitioning, int numReducers)
Maps partitions to reduce tasks so the reduce tasks contain approximately the same number of elements to process
|
static RTree |
PartitioningUtils.indexPartitions(PartitioningResult pr, SpatialOperationConfig spatialOpConf, Configuration conf)
Takes a partitioning result and returns all contained partitions indexed in an r-tree
|
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.