public class JoinedFeatureConverter<T> extends Object implements SimpleFeatureConverter<T>
Constructor and Description |
---|
JoinedFeatureConverter() |
JoinedFeatureConverter(String mainKey,
String joinedKey,
SimpleFeatureConverter<T> converter,
org.geotools.data.FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> joinedSource) |
Modifier and Type | Method and Description |
---|---|
T |
convert(org.opengis.feature.simple.SimpleFeature feature) |
void |
setConverter(SimpleFeatureConverter<T> converter) |
void |
setJoinedKey(String joinedKey)
The name of the attribute in the joined feature source to use as the join key.
|
void |
setJoinedSource(org.geotools.data.FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> joinedSource) |
void |
setJoinedSourceFactory(FeatureSourceFactory factory) |
void |
setMainKey(String mainKey)
The name of the attribute in the main feature source to use as the join key.
|
public JoinedFeatureConverter()
public JoinedFeatureConverter(String mainKey, String joinedKey, SimpleFeatureConverter<T> converter, org.geotools.data.FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> joinedSource)
public T convert(org.opengis.feature.simple.SimpleFeature feature)
convert
in interface SimpleFeatureConverter<T>
public void setConverter(SimpleFeatureConverter<T> converter)
public void setJoinedKey(String joinedKey)
public void setMainKey(String mainKey)
public void setJoinedSourceFactory(FeatureSourceFactory factory)
public void setJoinedSource(org.geotools.data.FeatureSource<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> joinedSource)
Copyright © 2018. All rights reserved.