C# Class GeoCache.Cache.NoSqlCache

NoSql cache implementation
Inheritance: ICache
ファイルを表示 Open project: OliveiraThales/GeoCache Class Usage Examples

Public Methods

Method 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

Method Description
AddGeometries ( IEnumerable geometries ) : void

Method Details

BuildAllCache() public method

Build the cache for a featureclass
public BuildAllCache ( ) : void
return void

BuildCursor() public method

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

BuildEnvelope() public method

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

NoSqlCache() public method

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

RetriveData() public method

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
return bool