Class OracleDatastoreWrapper
- Object
-
- DataStoreWrapper
-
- OracleDatastoreWrapper
-
- All Implemented Interfaces:
DataAccess<SimpleFeatureType,SimpleFeature>
,DataStore
public class OracleDatastoreWrapper extends DataStoreWrapper
Specific Oracle implementation for aDataStoreWrapper
Oracle DB has a couple of limitations: 1) All attributes and type names are UPPERCASE 2) attribute and type names can't be longer than 30 chars- 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
Constructors Constructor Description OracleDatastoreWrapper(DataStore datastore, String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FeatureTypeMapper
getFeatureTypeMapper(SimpleFeatureType featureType)
Return a specificFeatureTypeMapper
instance on top of an input featureTypeprotected SimpleFeatureSource
transformFeatureStore(SimpleFeatureStore store, FeatureTypeMapper mapper)
-
Methods inherited from class DataStoreWrapper
createSchema, dispose, getFeatureReader, getFeatureSource, getFeatureSource, getFeatureTypeMapper, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getInfo, getLockingManager, getNames, getSchema, getSchema, getTypeNames, removeSchema, removeSchema, storeMapper, storeProperties, updateSchema, updateSchema
-
-
-
-
Method Detail
-
getFeatureTypeMapper
protected FeatureTypeMapper getFeatureTypeMapper(SimpleFeatureType featureType) throws Exception
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
-
-