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)
AnalyticItemWrapperFactory
create
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>
IOException
public 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)
AnalyticItemWrapperFactory
createNextItem
in interface AnalyticItemWrapperFactory<org.opengis.feature.simple.SimpleFeature>
Copyright © 2013–2020. All rights reserved.