T - public class CentroidItemWrapperFactory<T> extends Object implements AnalyticItemWrapperFactory<T>
| Modifier and Type | Class and Description |
|---|---|
class |
CentroidItemWrapperFactory.CentroidItemWrapper |
| Constructor and Description |
|---|
CentroidItemWrapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
AnalyticItemWrapper<T> |
create(T item)
Wrap the item.
|
AnalyticItemWrapper<T> |
createNextItem(T feature,
String groupID,
org.locationtech.jts.geom.Coordinate coordinate,
String[] extraNames,
double[] extraValues)
Creates a new item based on the old item with new coordinates and dimension values
|
AnalyticItemWrapperFactory<T> |
getItemFactory() |
void |
initialize(org.apache.hadoop.mapreduce.JobContext context,
Class<?> scope,
org.slf4j.Logger logger) |
void |
setItemFactory(AnalyticItemWrapperFactory<T> itemFactory) |
public AnalyticItemWrapper<T> create(T item)
AnalyticItemWrapperFactorycreate in interface AnalyticItemWrapperFactory<T>public void initialize(org.apache.hadoop.mapreduce.JobContext context,
Class<?> scope,
org.slf4j.Logger logger)
throws IOException
initialize in interface AnalyticItemWrapperFactory<T>IOExceptionpublic AnalyticItemWrapperFactory<T> getItemFactory()
public void setItemFactory(AnalyticItemWrapperFactory<T> itemFactory)
public AnalyticItemWrapper<T> createNextItem(T feature, String groupID, org.locationtech.jts.geom.Coordinate coordinate, String[] extraNames, double[] extraValues)
AnalyticItemWrapperFactorycreateNextItem in interface AnalyticItemWrapperFactory<T>Copyright © 2013–2022. All rights reserved.