Class PostgisDatastoreWrapper
Object
DataStoreWrapper
PostgisDatastoreWrapper
- All Implemented Interfaces:
DataAccess<SimpleFeatureType,
,SimpleFeature> DataStore
Specific Postgis implementation for a
DataStoreWrapper
By default, Postgresql identifiers can't be longer
than 63 chars. See SQL Syntax
identifiers- Author:
- Daniele Romagnoli, GeoSolutions SAS
-
Field Summary
Fields inherited from class DataStoreWrapper
auxiliaryFolder, COORDINATE_REFERENCE_SYSTEM, datastore, HIDDEN_FOLDER, LOGGER, MAPPEDNAME, mapping, NAME, SCHEMA
-
Constructor Summary
ConstructorsConstructorDescriptionPostgisDatastoreWrapper
(DataStore datastore, String location) PostgisDatastoreWrapper
(DataStore datastore, String location, String subFolderName) -
Method Summary
Modifier and TypeMethodDescriptionprotected FeatureTypeMapper
getFeatureTypeMapper
(Properties props) Return a specificFeatureTypeMapper
by parsing mapping properties contained within the specifiedProperties
objectprotected FeatureTypeMapper
getFeatureTypeMapper
(SimpleFeatureType featureType) Return a specificFeatureTypeMapper
instance on top of an input featureTypeprotected void
storeMapper
(FeatureTypeMapper mapper) Store theFeatureTypeMapper
instanceprotected SimpleFeatureSource
transformFeatureStore
(SimpleFeatureStore store, FeatureTypeMapper mapper) Methods inherited from class DataStoreWrapper
createSchema, dispose, getFeatureReader, getFeatureSource, getFeatureSource, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getInfo, getLockingManager, getNames, getSchema, getSchema, getTypeNames, removeSchema, removeSchema, storeProperties, updateSchema, updateSchema
-
Constructor Details
-
PostgisDatastoreWrapper
-
PostgisDatastoreWrapper
-
-
Method Details
-
getFeatureTypeMapper
Return a specificFeatureTypeMapper
by parsing mapping properties contained within the specifiedProperties
object- Overrides:
getFeatureTypeMapper
in classDataStoreWrapper
- Throws:
Exception
-
getFeatureTypeMapper
Description copied from class:DataStoreWrapper
Return a specificFeatureTypeMapper
instance on top of an input featureType- Specified by:
getFeatureTypeMapper
in classDataStoreWrapper
- Throws:
Exception
-
transformFeatureStore
protected SimpleFeatureSource transformFeatureStore(SimpleFeatureStore store, FeatureTypeMapper mapper) throws IOException - Overrides:
transformFeatureStore
in classDataStoreWrapper
- Throws:
IOException
-
storeMapper
Description copied from class:DataStoreWrapper
Store theFeatureTypeMapper
instance- Overrides:
storeMapper
in classDataStoreWrapper
-