C# Class GeoCache.Cache.NoSqlCache

NoSql cache implementation
Inheritance: ICache
Afficher le fichier Open project: OliveiraThales/GeoCache Class Usage Examples

Méthodes publiques

Méthode Description
BuildAllCache ( ) : void

Build the cache for a featureclass

BuildCursor ( IEnumerable geometries ) : void

Build cache based on cursor

BuildEnvelope ( IEnvelope envelope ) : void

Build a cache for a especific featureClass and extent

NoSqlCache ( IRepository repository, INoSqlRepository noqlRepository, string featureClass ) : System.Collections.Generic

Constructor

RetriveData ( IEnvelope envelop, IList &outerData, IEnvelope &affectedEnvelop ) : bool

Retrive data from cache

Private Methods

Méthode Description
AddGeometries ( IEnumerable geometries ) : void

Method Details

BuildAllCache() public méthode

Build the cache for a featureclass
public BuildAllCache ( ) : void
Résultat void

BuildCursor() public méthode

Build cache based on cursor
public BuildCursor ( IEnumerable geometries ) : void
geometries IEnumerable Geometries to add
Résultat void

BuildEnvelope() public méthode

Build a cache for a especific featureClass and extent
public BuildEnvelope ( IEnvelope envelope ) : void
envelope IEnvelope Envelope
Résultat void

NoSqlCache() public méthode

Constructor
public NoSqlCache ( IRepository repository, INoSqlRepository noqlRepository, string featureClass ) : System.Collections.Generic
repository IRepository Repository
noqlRepository INoSqlRepository NoSql Repository
featureClass string FeatureClass name
Résultat System.Collections.Generic

RetriveData() public méthode

Retrive data from cache
public RetriveData ( IEnvelope envelop, IList &outerData, IEnvelope &affectedEnvelop ) : bool
envelop IEnvelope Envelope for search
outerData IList Output data
affectedEnvelop IEnvelope Affected envelop in the grid
Résultat bool