public interface CustomSourceDataStore
Modifier and Type | Method and Description |
---|---|
DataAccess<? extends FeatureType,? extends Feature> |
buildDataStore(SourceDataStore dataStoreConfig,
AppSchemaDataAccessDTO appSchemaConfig)
Builds a data store based on the provided App-Schema data store configuration.
|
DataAccessMappingFeatureIterator |
buildIterator(AppSchemaDataAccess store,
FeatureTypeMapping featureTypeMapping,
Query query,
Transaction transaction)
Allows a data store to build its own iterator that will be used by App-Schema core to
retrieve the necessary attributes from the data store to build the mapped feature types.
|
void |
configXmlDigesterAttributesMappings(Digester digester)
Allows a data store to provide its own configuration to the XML parser \ digester for
attributes mappings.
|
void |
configXmlDigesterDataSources(Digester digester)
Allows a data store to provide its own configuration to the XML parser \ digester for data
sources.
|
default List<PropertyName> |
getSurrogatePropertyNames(List<PropertyName> requested,
FeatureTypeMapping mapping) |
static List<CustomSourceDataStore> |
loadExtensions()
Helper method that loads all the custom data stores extensions.
|
DataAccess<? extends FeatureType,? extends Feature> buildDataStore(SourceDataStore dataStoreConfig, AppSchemaDataAccessDTO appSchemaConfig)
dataStoreConfig
- App-Schema data store configurationappSchemaConfig
- App-Schema full configurationvoid configXmlDigesterDataSources(Digester digester)
digester
- XML parser \ digestervoid configXmlDigesterAttributesMappings(Digester digester)
digester
- XML parser \ digesterDataAccessMappingFeatureIterator buildIterator(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction)
store
- the data store from where App-Schema will retrieve the necessary valuesfeatureTypeMapping
- the feature typ mapping that is being build by App-Schema corequery
- the query that will \ should be submitted to the data storetransaction
- the current transaction contextdefault List<PropertyName> getSurrogatePropertyNames(List<PropertyName> requested, FeatureTypeMapping mapping)
static List<CustomSourceDataStore> loadExtensions()
Copyright © 1996–2019 Geotools. All rights reserved.