C# Class MapAround.Caching.FeatureCollectionCacheAccessorBase

Base class providing access to feature caching.
Inheritance: IFeatureCollectionCacheAccessor
Afficher le fichier Open project: gkrsu/maparound.core

Méthodes publiques

Méthode Description
RestoreAttributeNames ( ) : IList

Restores a list of attribute names from the cache

RestoreFeatures ( FeatureType featureType ) : ICollection

Restores a feature collection from the cache.

RestoreFeaturesIndex ( FeatureType featureType ) : ISpatialIndex

Restores a spatial index containing features from cache.

SaveAttributeNames ( IList attributeNames ) : void

Saves a list of attribute names to the cache.

SaveFeatures ( ICollection features, FeatureType featureType ) : void

Saves a feature collection to the cache.

SaveFeaturesIndex ( ISpatialIndex index, FeatureType featureType ) : void

Saves a spatial index containing features to the cache.

Méthodes protégées

Méthode Description
AddOrReplaceAttributeNames ( IList attributeNames ) : void

Saves an attribute list into cache.

AddOrReplaceCollection ( ICollection features, FeatureType featureType ) : void

Adds a collection to the cache or replaces it.

AddOrReplaceIndex ( ISpatialIndex index, FeatureType featureType ) : void

Adds a feature index to the cache or replaces it.

CheckKeyString ( string key ) : bool

Checks a value for validity when using as the access key.

ExtractAttributeNames ( ) : IList

Extracts an attribute list from cache.

ExtractCollection ( FeatureType featureType ) : Collection

Extracts a collection from cache.

ExtractIndex ( FeatureType featureType ) : ISpatialIndex

Extracts a feature index from cache.

Method Details

AddOrReplaceAttributeNames() protected abstract méthode

Saves an attribute list into cache.
protected abstract AddOrReplaceAttributeNames ( IList attributeNames ) : void
attributeNames IList Attribute list
Résultat void

AddOrReplaceCollection() protected abstract méthode

Adds a collection to the cache or replaces it.
protected abstract AddOrReplaceCollection ( ICollection features, FeatureType featureType ) : void
features ICollection Feature collection
featureType FeatureType Feature type
Résultat void

AddOrReplaceIndex() protected abstract méthode

Adds a feature index to the cache or replaces it.
protected abstract AddOrReplaceIndex ( ISpatialIndex index, FeatureType featureType ) : void
index ISpatialIndex Spatial index
featureType FeatureType Feature type
Résultat void

CheckKeyString() protected abstract méthode

Checks a value for validity when using as the access key.
protected abstract CheckKeyString ( string key ) : bool
key string Value need to be checked
Résultat bool

ExtractAttributeNames() protected abstract méthode

Extracts an attribute list from cache.
protected abstract ExtractAttributeNames ( ) : IList
Résultat IList

ExtractCollection() protected abstract méthode

Extracts a collection from cache.
protected abstract ExtractCollection ( FeatureType featureType ) : Collection
featureType FeatureType Type of features in the collection
Résultat Collection

ExtractIndex() protected abstract méthode

Extracts a feature index from cache.
protected abstract ExtractIndex ( FeatureType featureType ) : ISpatialIndex
featureType FeatureType Feature type
Résultat ISpatialIndex

RestoreAttributeNames() public méthode

Restores a list of attribute names from the cache
public RestoreAttributeNames ( ) : IList
Résultat IList

RestoreFeatures() public méthode

Restores a feature collection from the cache.
public RestoreFeatures ( FeatureType featureType ) : ICollection
featureType FeatureType Type of features
Résultat ICollection

RestoreFeaturesIndex() public méthode

Restores a spatial index containing features from cache.
public RestoreFeaturesIndex ( FeatureType featureType ) : ISpatialIndex
featureType FeatureType Feature type
Résultat ISpatialIndex

SaveAttributeNames() public méthode

Saves a list of attribute names to the cache.
public SaveAttributeNames ( IList attributeNames ) : void
attributeNames IList List of attribute names
Résultat void

SaveFeatures() public méthode

Saves a feature collection to the cache.
public SaveFeatures ( ICollection features, FeatureType featureType ) : void
features ICollection Feature collection
featureType FeatureType Type of features
Résultat void

SaveFeaturesIndex() public méthode

Saves a spatial index containing features to the cache.
public SaveFeaturesIndex ( ISpatialIndex index, FeatureType featureType ) : void
index ISpatialIndex Spatial index
featureType FeatureType Type of features in index
Résultat void