Skip To Content ArcGIS for Developers Sign In Dashboard

QueryParameters QML Type

Contains parameters for a query for features. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Signals

Detailed Description

Queries can find features based on object ID, a geometry filter, a SQL WHERE clause, and a time extent.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

See also FeatureTable.

Property Documentation

[default] geometry : Geometry

The input geometry used for a spatial filter.


maxAllowableOffset : double

The maximum allowable offset used for generalizing geometries returned by the query operation.

This is expressed in units of outSpatialReference.


maxFeatures : int

The maximum number of features to be included in the result.

If 0, then there is no limit set on the number of features.


objectIds : list<string>

The list of object IDs of the features to be queried.

Only features with these object IDs, a unique identifier within the feature set, will be considered as result candidates.

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

Note: objectIds and objectIdsAsInts can be used interchangeably. Both reference the same underlying Runtime property.

See also objectIdsAsInts.


objectIdsAsInts : list<int>

The same as objectIds but represented as an integer types (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

Note: objectIdsAsInts and objectIds can be used interchangeably. Both reference the same underlying Runtime property.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


[default] orderByFields : list<OrderBy>

The sort order of result.

Results can be sorted on one or more fields. Each OrderBy instance includes a field name and whether to sort by that field in ascending or descending order.

See also OrderBy.


[default] outSpatialReference : SpatialReference

The spatial reference of the feature geometry in the result.


resultOffset : int

The starting offset of results to fetch in the query.

When providing a result offset to support paging of results, you must also set a maximum features value. If the result offset is set, but the maximum features value is not, the offset is ignored. For consistent ordering of the results when using pagination, the orderByFields property must be set.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


returnGeometry : bool

Whether feature geometries are returned in the result.


spatialRelationship : Enums.SpatialRelationship

The spatial relationship to use when applying the geometry filter.

See also Enums.SpatialRelationship.


[default] timeExtent : TimeExtent

The time extent to apply to the query.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


whereClause : string

The SQL WHERE clause to apply in the query.


Signal Documentation

geometryChanged()

Emitted when the geometry property changes.


maxAllowableOffsetChanged()

Emitted when the maxAllowableOffset property changes.


maxFeaturesChanged()

Emitted when the maxFeatures property changes.


objectIdsAsIntsChanged()

Emitted when the objectIdsAsInts property changes.


objectIdsChanged()

Emitted when the objectIds property changes.


orderByFieldsChanged()

Emitted when the orderByFields property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.1.


outSpatialReferenceChanged()

Emitted when the outSpatialReference property changes.


resultOffsetChanged()

Emitted when the resultOffset property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


returnGeometryChanged()

Emitted when the returnGeometry property changes.


spatialRelationshipChanged()

Emitted when the spatialRelationship property changes.


timeExtentChanged()

Emitted when the timeExtent property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


whereClauseChanged()

Emitted when the whereClause property changes.



Feedback on this topic?