public class PostgisDatastoreWrapper extends DataStoreWrapper
DataStoreWrapper
By default, Postgresql identifiers
can't be longer than 63 chars. See SQL
Syntax identifiersauxiliaryFolder, COORDINATE_REFERENCE_SYSTEM, datastore, HIDDEN_FOLDER, LOGGER, MAPPEDNAME, mapping, NAME, SCHEMA
Constructor and Description |
---|
PostgisDatastoreWrapper(DataStore datastore,
String location) |
PostgisDatastoreWrapper(DataStore datastore,
String location,
String subFolderName) |
Modifier and Type | Method and Description |
---|---|
protected FeatureTypeMapper |
getFeatureTypeMapper(Properties props)
Return a specific
FeatureTypeMapper by parsing mapping properties contained within
the specified Properties object |
protected FeatureTypeMapper |
getFeatureTypeMapper(SimpleFeatureType featureType)
Return a specific
FeatureTypeMapper instance on top of an input featureType |
protected void |
storeMapper(FeatureTypeMapper mapper)
Store the
FeatureTypeMapper instance |
protected SimpleFeatureSource |
transformFeatureStore(SimpleFeatureStore store,
FeatureTypeMapper mapper) |
createSchema, dispose, getFeatureReader, getFeatureSource, getFeatureSource, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getInfo, getLockingManager, getNames, getSchema, getSchema, getTypeNames, removeSchema, removeSchema, storeProperties, updateSchema, updateSchema
public PostgisDatastoreWrapper(DataStore datastore, String location, String subFolderName)
protected FeatureTypeMapper getFeatureTypeMapper(Properties props) throws Exception
FeatureTypeMapper
by parsing mapping properties contained within
the specified Properties
objectgetFeatureTypeMapper
in class DataStoreWrapper
featureType
- Exception
protected FeatureTypeMapper getFeatureTypeMapper(SimpleFeatureType featureType) throws Exception
DataStoreWrapper
FeatureTypeMapper
instance on top of an input featureTypegetFeatureTypeMapper
in class DataStoreWrapper
Exception
protected SimpleFeatureSource transformFeatureStore(SimpleFeatureStore store, FeatureTypeMapper mapper) throws IOException
transformFeatureStore
in class DataStoreWrapper
IOException
protected void storeMapper(FeatureTypeMapper mapper)
DataStoreWrapper
FeatureTypeMapper
instancestoreMapper
in class DataStoreWrapper
Copyright © 1996–2019 Geotools. All rights reserved.