public class SimpleFeatureItemWrapperFactory extends Object implements AnalyticItemWrapperFactory<org.opengis.feature.simple.SimpleFeature>
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleFeatureItemWrapperFactory.SimpleFeatureAnalyticItemWrapper |
| Constructor and Description |
|---|
SimpleFeatureItemWrapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
AnalyticItemWrapper<org.opengis.feature.simple.SimpleFeature> |
create(org.opengis.feature.simple.SimpleFeature item)
Wrap the item.
|
AnalyticItemWrapper<org.opengis.feature.simple.SimpleFeature> |
createNextItem(org.opengis.feature.simple.SimpleFeature 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
|
void |
initialize(org.apache.hadoop.mapreduce.JobContext context,
Class<?> scope,
org.slf4j.Logger logger) |
public AnalyticItemWrapper<org.opengis.feature.simple.SimpleFeature> create(org.opengis.feature.simple.SimpleFeature item)
AnalyticItemWrapperFactorycreate in interface AnalyticItemWrapperFactory<org.opengis.feature.simple.SimpleFeature>public void initialize(org.apache.hadoop.mapreduce.JobContext context,
Class<?> scope,
org.slf4j.Logger logger)
throws IOException
initialize in interface AnalyticItemWrapperFactory<org.opengis.feature.simple.SimpleFeature>IOExceptionpublic AnalyticItemWrapper<org.opengis.feature.simple.SimpleFeature> createNextItem(org.opengis.feature.simple.SimpleFeature feature, String groupID, org.locationtech.jts.geom.Coordinate coordinate, String[] extraNames, double[] extraValues)
AnalyticItemWrapperFactorycreateNextItem in interface AnalyticItemWrapperFactory<org.opengis.feature.simple.SimpleFeature>Copyright © 2013–2022. All rights reserved.