T - public abstract class AbstractPartitioner<T> extends Object implements Partitioner<T>
Partitioner| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractPartitioner.NumericDataHolder |
Partitioner.PartitionData, Partitioner.PartitionDataCallback| Constructor and Description |
|---|
AbstractPartitioner() |
AbstractPartitioner(org.locationtech.geowave.core.store.index.CommonIndexModel indexModel,
double[] distancePerDimension) |
AbstractPartitioner(double[] distancePerDimension) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPartitions(Set<Partitioner.PartitionData> masterList,
org.locationtech.geowave.core.index.InsertionIds insertionIds,
boolean isPrimary) |
boolean |
equals(Object obj) |
List<Partitioner.PartitionData> |
getCubeIdentifiers(T entry) |
protected double[] |
getDistancePerDimension() |
protected org.locationtech.geowave.core.store.api.Index |
getIndex() |
protected abstract AbstractPartitioner.NumericDataHolder |
getNumericData(T entry) |
Collection<ParameterEnum<?>> |
getParameters() |
org.locationtech.geowave.core.index.numeric.MultiDimensionalNumericData |
getRangesForPartition(Partitioner.PartitionData partitionData) |
int |
hashCode() |
void |
initialize(org.apache.hadoop.mapreduce.JobContext context,
Class<?> scope) |
void |
initialize(ScopedJobConfiguration config) |
protected void |
initIndex(org.locationtech.geowave.core.store.index.CommonIndexModel indexModel,
double[] distancePerDimensionForIndex) |
void |
partition(T entry,
Partitioner.PartitionDataCallback callback) |
void |
setup(PropertyManagement runTimeProperties,
Class<?> scope,
org.apache.hadoop.conf.Configuration configuration) |
public AbstractPartitioner()
public AbstractPartitioner(org.locationtech.geowave.core.store.index.CommonIndexModel indexModel,
double[] distancePerDimension)
public AbstractPartitioner(double[] distancePerDimension)
protected double[] getDistancePerDimension()
protected org.locationtech.geowave.core.store.api.Index getIndex()
public List<Partitioner.PartitionData> getCubeIdentifiers(T entry)
getCubeIdentifiers in interface Partitioner<T>public void partition(T entry, Partitioner.PartitionDataCallback callback) throws Exception
partition in interface Partitioner<T>Exceptionprotected abstract AbstractPartitioner.NumericDataHolder getNumericData(T entry)
public org.locationtech.geowave.core.index.numeric.MultiDimensionalNumericData getRangesForPartition(Partitioner.PartitionData partitionData)
protected void addPartitions(Set<Partitioner.PartitionData> masterList, org.locationtech.geowave.core.index.InsertionIds insertionIds, boolean isPrimary)
public void initialize(org.apache.hadoop.mapreduce.JobContext context,
Class<?> scope)
throws IOException
initialize in interface Partitioner<T>IOExceptionpublic void initialize(ScopedJobConfiguration config) throws IOException
IOExceptionpublic void setup(PropertyManagement runTimeProperties, Class<?> scope, org.apache.hadoop.conf.Configuration configuration)
setup in interface Partitioner<T>protected void initIndex(org.locationtech.geowave.core.store.index.CommonIndexModel indexModel,
double[] distancePerDimensionForIndex)
public Collection<ParameterEnum<?>> getParameters()
getParameters in interface Partitioner<T>Copyright © 2013–2022. All rights reserved.