|
| QgsProcessingFeatureSource (QgsFeatureSource *originalSource, const QgsProcessingContext &context, bool ownsOriginalSource=false, long long featureLimit=-1) |
| Constructor for QgsProcessingFeatureSource, accepting an original feature source originalSource and processing context. More...
|
|
| ~QgsProcessingFeatureSource () override |
|
QgsFeatureIds | allFeatureIds () const override |
| Returns a list of all feature IDs for features present in the source. More...
|
|
QgsExpressionContextScope * | createExpressionContextScope () const |
| Returns an expression context scope suitable for this source. More...
|
|
long long | featureCount () const override |
| Returns the number of features contained in the source, or -1 if the feature count is unknown. More...
|
|
QgsFields | fields () const override |
| Returns the fields associated with features in the source. More...
|
|
QgsFeatureIterator | getFeatures (const QgsFeatureRequest &request, Flags flags) const |
| Returns an iterator for the features in the source, respecting the supplied feature flags. More...
|
|
QgsFeatureIterator | getFeatures (const QgsFeatureRequest &request=QgsFeatureRequest()) const override |
| Returns an iterator for the features in the source. More...
|
|
QgsFeatureSource::FeatureAvailability | hasFeatures () const override |
| Determines if there are any features available in the source. More...
|
|
SpatialIndexPresence | hasSpatialIndex () const override |
| Returns an enum value representing the presence of a valid spatial index on the source, if it can be determined. More...
|
|
QVariant | maximumValue (int fieldIndex) const override |
| Returns the maximum value for an attribute column or an invalid variant in case of error. More...
|
|
QVariant | minimumValue (int fieldIndex) const override |
| Returns the minimum value for an attribute column or an invalid variant in case of error. More...
|
|
void | setInvalidGeometryCheck (QgsFeatureRequest::InvalidGeometryCheck method) |
| Overrides the default geometry check method for the source. More...
|
|
QgsCoordinateReferenceSystem | sourceCrs () const override |
| Returns the coordinate reference system for features in the source. More...
|
|
QgsRectangle | sourceExtent () const override |
| Returns the extent of all geometries from the source. More...
|
|
QString | sourceName () const override |
| Returns a friendly display name for the source. More...
|
|
QSet< QVariant > | uniqueValues (int fieldIndex, int limit=-1) const override |
| Returns the set of unique values contained within the specified fieldIndex from this source. More...
|
|
QgsWkbTypes::Type | wkbType () const override |
| Returns the geometry type for features returned by this source. More...
|
|
virtual | ~QgsFeatureSource ()=default |
|
virtual QgsFeatureIds | allFeatureIds () const |
| Returns a list of all feature IDs for features present in the source. More...
|
|
virtual long long | featureCount () const =0 |
| Returns the number of features contained in the source, or -1 if the feature count is unknown. More...
|
|
virtual QgsFields | fields () const =0 |
| Returns the fields associated with features in the source. More...
|
|
virtual QgsFeatureIterator | getFeatures (const QgsFeatureRequest &request=QgsFeatureRequest()) const =0 |
| Returns an iterator for the features in the source. More...
|
|
virtual FeatureAvailability | hasFeatures () const |
| Determines if there are any features available in the source. More...
|
|
virtual SpatialIndexPresence | hasSpatialIndex () const |
| Returns an enum value representing the presence of a valid spatial index on the source, if it can be determined. More...
|
|
QgsVectorLayer * | materialize (const QgsFeatureRequest &request, QgsFeedback *feedback=nullptr) |
| Materializes a request (query) made against this feature source, by running it over the source and returning a new memory based vector layer containing the result. More...
|
|
virtual QVariant | maximumValue (int fieldIndex) const |
| Returns the maximum value for an attribute column or an invalid variant in case of error. More...
|
|
virtual QVariant | minimumValue (int fieldIndex) const |
| Returns the minimum value for an attribute column or an invalid variant in case of error. More...
|
|
virtual QgsCoordinateReferenceSystem | sourceCrs () const =0 |
| Returns the coordinate reference system for features in the source. More...
|
|
virtual QgsRectangle | sourceExtent () const |
| Returns the extent of all geometries from the source. More...
|
|
virtual QString | sourceName () const =0 |
| Returns a friendly display name for the source. More...
|
|
virtual QSet< QVariant > | uniqueValues (int fieldIndex, int limit=-1) const |
| Returns the set of unique values contained within the specified fieldIndex from this source. More...
|
|
virtual QgsWkbTypes::Type | wkbType () const =0 |
| Returns the geometry type for features returned by this source. More...
|
|