Skip to content

Commit

Permalink
Add docs for cache warming
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 15, 2018
1 parent b210e7d commit a05e787
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/analysis/vector/geometry_checker/qgsfeaturepool.h
Expand Up @@ -47,8 +47,11 @@ class ANALYSIS_EXPORT QgsFeaturePool : public QgsFeatureSink SIP_ABSTRACT
bool getFeature( QgsFeatureId id, QgsFeature &feature );

/**
* Warm the cache ...
* TODO write more docs
* Get features for the provided \a request. No features will be fetched
* from the cache and the request is sent directly to the underlying feature source.
* Results of the request are cached in the pool and the ids of all the features
* are returned. This can be used to warm the cache for a particular area of interest
* (bounding box) or other set of features.
*/
QgsFeatureIds getFeatures( const QgsFeatureRequest &request ) SIP_SKIP;

Expand Down

0 comments on commit a05e787

Please sign in to comment.