FeatureQueryResult Class

  • FeatureQueryResult
  • class Esri::ArcGISRuntime::FeatureQueryResult

    The result of a query, select, or populate features operation made on a feature table or layer. More...

    Header: #include <FeatureQueryResult.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::Object and Esri::ArcGISRuntime::FeatureSet

    Public Functions

    virtual ~FeatureQueryResult() override
    bool isTransferLimitExceeded() const

    Reimplemented Public Functions

    virtual QList<Esri::ArcGISRuntime::Field> fields() const override
    virtual Esri::ArcGISRuntime::GeometryType geometryType() const override
    virtual Esri::ArcGISRuntime::FeatureIterator iterator() const override
    virtual Esri::ArcGISRuntime::SpatialReference spatialReference() const override

    Detailed Description

    Operations that query, select and populate features, such as FeatureTable::queryFeaturesAsync(const Esri::ArcGISRuntime::QueryParameters&, QObject*), FeatureLayer::selectFeaturesAsync(const Esri::ArcGISRuntime::QueryParameters&, Esri::ArcGISRuntime::SelectionMode, QObject*), AnnotationLayer::selectedFeaturesAsync, or ServiceFeatureTable::populateFromServiceAsync(const Esri::ArcGISRuntime::QueryParameters&, bool, const QStringList&, QObject*), return their resulting features in a collection of FeatureQueryResult objects.

    Each FeatureQueryResult provides a GeometryType, SpatialReference, and a collection of Field objects for each resulting feature.

    Relevant samples:

    Member Function Documentation

    [override virtual] FeatureQueryResult::~FeatureQueryResult()

    Destructor

    [override virtual] QList<Esri::ArcGISRuntime::Field> FeatureQueryResult::fields() const

    Reimplements: FeatureSet::fields() const.

    Returns a list of Field objects representing the fields in this FeatureQueryResult.

    [override virtual] Esri::ArcGISRuntime::GeometryType FeatureQueryResult::geometryType() const

    Reimplements: FeatureSet::geometryType() const.

    Returns the type of geometry shared by all features in this FeatureQueryResult.

    bool FeatureQueryResult::isTransferLimitExceeded() const

    Returns true if the query resulted in a larger number of features than what the transfer limit supports, false otherwise.

    Many ArcGIS services only return up to 1000 results even if the query matched more features. When that happened for the query that produced these results, this property is true.

    [override virtual] Esri::ArcGISRuntime::FeatureIterator FeatureQueryResult::iterator() const

    Reimplements: FeatureSet::iterator() const.

    Returns an iterator used to iterate over all features in this FeatureQueryResult

    [override virtual] Esri::ArcGISRuntime::SpatialReference FeatureQueryResult::spatialReference() const

    Reimplements: FeatureSet::spatialReference() const.

    Returns the spatial reference shared by all features in this FeatureQueryResult.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.