Parameters to perform a related query using AGSArcGISFeatureTable
.
Instances of this class represent parameters that can be used to perform a query using queryRelatedFeaturesForFeature:parameters:completion: (AGSArcGISFeatureTable)
.
- Since
- 100.1
◆ initWithRelationshipInfo:
Creates a parameter with the provided relationship.
- Parameters
-
relationshipInfo | specifying the relationship to query on. |
- Since
- 100.1
◆ relatedQueryParametersWithRelationshipInfo:
+ (instancetype) relatedQueryParametersWithRelationshipInfo: |
|
(AGSRelationshipInfo *) |
relationshipInfo |
|
Creates a parameter with the provided relationship.
- Parameters
-
relationshipInfo | Relationship information specifying the relationship to query on. |
- Since
- 100.1
- Returns
- A new parameter.
◆ maxFeatures
- (NSInteger) maxFeatures |
|
readwritenonatomicassign |
The maximum number of results that should be returned.
- Note
- For consistent ordering of results when using pagination, you should also provide a value for
orderByFields
.
- Since
- 100.2
◆ orderByFields
Fields by which the results need to be ordered. Note, the service being queried must support advanced queries.
- Since
- 100.1
◆ relationshipInfo
Information about the relationship that the query is based on.
- Since
- 100.1
◆ resultOffset
- (NSInteger) resultOffset |
|
readwritenonatomicassign |
The starting offset of results to fetch. This is useful for paging through results.
- Note
- If providing a result offset, you must also set
maxFeatures
otherwise the offset is ignored.
- Since
- 100.2
◆ returnGeometry
If YES
, result features will include their geometry. This is needed when you want to display the features on a map or a scene. If non-spatial data is being queried, result features will not contain a geometry.
- Since
- 100.1
◆ whereClause
- (NSString*) whereClause |
|
readwritenonatomiccopy |
A SQL where clause to filter results for the query. If the where clause includes dates, they must be correctly formatted based on the geodatabase datasource used in the service. Refer to this document for date formats expected by different datasources.
- Since
- 100.1