public final class MongoComplexDataSource extends Object implements CustomSourceDataStore
Constructor and Description |
---|
MongoComplexDataSource() |
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.
|
List<PropertyName> |
getSurrogatePropertyNames(List<PropertyName> requested,
FeatureTypeMapping featureTypeMapping) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadExtensions
public DataAccess<? extends FeatureType,? extends Feature> buildDataStore(SourceDataStore dataStoreConfig, AppSchemaDataAccessDTO appSchemaConfig)
CustomSourceDataStore
buildDataStore
in interface CustomSourceDataStore
dataStoreConfig
- App-Schema data store configurationappSchemaConfig
- App-Schema full configurationpublic void configXmlDigesterDataSources(Digester digester)
CustomSourceDataStore
configXmlDigesterDataSources
in interface CustomSourceDataStore
digester
- XML parser \ digesterpublic void configXmlDigesterAttributesMappings(Digester digester)
CustomSourceDataStore
configXmlDigesterAttributesMappings
in interface CustomSourceDataStore
digester
- XML parser \ digesterpublic DataAccessMappingFeatureIterator buildIterator(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction)
CustomSourceDataStore
buildIterator
in interface CustomSourceDataStore
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 contextpublic List<PropertyName> getSurrogatePropertyNames(List<PropertyName> requested, FeatureTypeMapping featureTypeMapping)
getSurrogatePropertyNames
in interface CustomSourceDataStore
Copyright © 1996–2019 Geotools. All rights reserved.