Class SQLServerDatastoreWrapper
- Object
-
- DataStoreWrapper
-
- SQLServerDatastoreWrapper
-
- All Implemented Interfaces:
DataAccess<SimpleFeatureType,SimpleFeature>,DataStore
public class SQLServerDatastoreWrapper extends DataStoreWrapper
Specific SQLServer implementation for aDataStoreWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_METADATA_TABLE-
Fields inherited from class DataStoreWrapper
auxiliaryFolder, COORDINATE_REFERENCE_SYSTEM, datastore, HIDDEN_FOLDER, LOGGER, MAPPEDNAME, mapping, NAME, SCHEMA
-
-
Constructor Summary
Constructors Constructor Description SQLServerDatastoreWrapper(DataStore datastore, String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FeatureTypeMappergetFeatureTypeMapper(Properties props)Return a specificFeatureTypeMapperby parsing mapping properties contained within the specifiedPropertiesobjectprotected FeatureTypeMappergetFeatureTypeMapper(SimpleFeatureType featureType)Return a specificFeatureTypeMapperinstance on top of an input featureTypeprotected SimpleFeatureSourcetransformFeatureStore(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, storeMapper, storeProperties, updateSchema, updateSchema
-
-
-
-
Field Detail
-
DEFAULT_METADATA_TABLE
public static final String DEFAULT_METADATA_TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFeatureTypeMapper
protected FeatureTypeMapper getFeatureTypeMapper(Properties props) throws Exception
Return a specificFeatureTypeMapperby parsing mapping properties contained within the specifiedPropertiesobject- Overrides:
getFeatureTypeMapperin classDataStoreWrapper- Throws:
Exception
-
getFeatureTypeMapper
protected FeatureTypeMapper getFeatureTypeMapper(SimpleFeatureType featureType) throws Exception
Description copied from class:DataStoreWrapperReturn a specificFeatureTypeMapperinstance on top of an input featureType- Specified by:
getFeatureTypeMapperin classDataStoreWrapper- Throws:
Exception
-
transformFeatureStore
protected SimpleFeatureSource transformFeatureStore(SimpleFeatureStore store, FeatureTypeMapper mapper) throws IOException
- Overrides:
transformFeatureStorein classDataStoreWrapper- Throws:
IOException
-
-