org.geotools.gce.imagemosaic.catalog.oracle
Class OracleDatastoreWrapper

Object
  extended by DataStoreWrapper
      extended by OracleDatastoreWrapper
All Implemented Interfaces:
DataAccess<SimpleFeatureType,SimpleFeature>, DataStore

public class OracleDatastoreWrapper
extends DataStoreWrapper

Specific Oracle implementation for a DataStoreWrapper 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, datastore, LOGGER, mapping
 
Constructor Summary
OracleDatastoreWrapper(DataStore datastore, String location)
           
 
Method Summary
protected  FeatureTypeMapper getFeatureTypeMapper(SimpleFeatureType featureType)
          Return a specific FeatureTypeMapper instance on top of an input featureType
protected  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
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleDatastoreWrapper

public OracleDatastoreWrapper(DataStore datastore,
                              String location)
Method Detail

getFeatureTypeMapper

protected FeatureTypeMapper getFeatureTypeMapper(SimpleFeatureType featureType)
                                          throws Exception
Description copied from class: DataStoreWrapper
Return a specific FeatureTypeMapper instance on top of an input featureType

Specified by:
getFeatureTypeMapper in class DataStoreWrapper
Returns:
Throws:
Exception

transformFeatureStore

protected SimpleFeatureSource transformFeatureStore(SimpleFeatureStore store,
                                                    FeatureTypeMapper mapper)
                                             throws IOException
Overrides:
transformFeatureStore in class DataStoreWrapper
Throws:
IOException


Copyright © 1996-2014 Geotools. All Rights Reserved.