Skip to content

Commit a05e787

Browse files
committed
Add docs for cache warming
1 parent b210e7d commit a05e787

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/analysis/vector/geometry_checker/qgsfeaturepool.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ class ANALYSIS_EXPORT QgsFeaturePool : public QgsFeatureSink SIP_ABSTRACT
4747
bool getFeature( QgsFeatureId id, QgsFeature &feature );
4848

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

0 commit comments

Comments
 (0)