Class SQLServerTransformFeatureStore
- Object
-
- TransformFeatureSource
-
- TransformFeatureStore
-
- SQLServerTransformFeatureStore
-
- All Implemented Interfaces:
FeatureSource<SimpleFeatureType,SimpleFeature>
,FeatureStore<SimpleFeatureType,SimpleFeature>
,SimpleFeatureSource
,SimpleFeatureStore
public class SQLServerTransformFeatureStore extends TransformFeatureStore
A SQLServer transforming feature store, will transform on the fly all attempts to write so that the underlying features are getting modified while exposing a different feature type to its callers.
-
-
Field Summary
-
Fields inherited from class TransformFeatureStore
invertedTransformer, store
-
Fields inherited from class TransformFeatureSource
FF, LOGGER, source, transformer
-
-
Constructor Summary
Constructors Constructor Description SQLServerTransformFeatureStore(SimpleFeatureStore store, Name name, List<Definition> definitions, DataStore datastore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAccess<SimpleFeatureType,SimpleFeature>
getDataStore()
Returns the data source, as aDataAccess
object, providing thisFeatureSource
.-
Methods inherited from class TransformFeatureStore
addFeatures, getTransaction, modifyFeatures, modifyFeatures, modifyFeatures, modifyFeatures, removeFeatures, setFeatures, setTransaction
-
Methods inherited from class TransformFeatureSource
addFeatureListener, getBounds, getBounds, getCount, getFeatures, getFeatures, getFeatures, getInfo, getName, getQueryCapabilities, getSchema, getSupportedHints, removeFeatureListener
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface FeatureSource
addFeatureListener, getBounds, getBounds, getCount, getInfo, getName, getQueryCapabilities, getSchema, getSupportedHints, removeFeatureListener
-
Methods inherited from interface SimpleFeatureStore
getFeatures, getFeatures, getFeatures
-
-
-
-
Constructor Detail
-
SQLServerTransformFeatureStore
public SQLServerTransformFeatureStore(SimpleFeatureStore store, Name name, List<Definition> definitions, DataStore datastore) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getDataStore
public DataAccess<SimpleFeatureType,SimpleFeature> getDataStore()
Description copied from interface:FeatureSource
Returns the data source, as aDataAccess
object, providing thisFeatureSource
.- Specified by:
getDataStore
in interfaceFeatureSource<SimpleFeatureType,SimpleFeature>
- Overrides:
getDataStore
in classTransformFeatureSource
- Returns:
- the data source providing this
FeatureSource
-
-