ArcGIS Runtime SDK for iOS: AGSRelatedFeatureQueryResult Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSRelatedFeatureQueryResult Class Reference

Description

Result of relationship based queries that return features.

Instances of this class represent results of relationship based queries that return features. This class has methods that can be used to iterate over the collection of features. The AGSFeatureEnumerator class conforms to NSFastEnumeration which permits the collection to be enumerated conveniently using a for-in loop. For example -

let result:AGSRelatedFeatureQueryResult = ... //A related feature query result instance
let enumr = result.featureEnumerator()
for feature in enumr {
//do something
}
AGSFeatureEnumerator * featureEnumerator()
Since
100.1
Inheritance diagram for AGSRelatedFeatureQueryResult:
AGSObject <AGSFeatureSet>

Instance Methods

(AGSFeatureEnumerator *) - featureEnumerator
 

Properties

AGSArcGISFeaturefeature
 
NSArray< AGSField * > * fields
 
AGSGeometryType geometryType
 
AGSArcGISFeatureTablerelatedTable
 
AGSRelationshipInforelationshipInfo
 
AGSSpatialReferencespatialReference
 
BOOL transferLimitExceeded
 

Method Documentation

◆ featureEnumerator

- (AGSFeatureEnumerator*) featureEnumerator

Returns an enumerator object that lets you access each feature.

Since
100

Property Documentation

◆ feature

- (AGSArcGISFeature*) feature
readnonatomicstrong

Feature that the result features are related to.

Since
100.1

◆ fields

- (NSArray<AGSField*>*) fields
readrequirednonatomiccopyinherited

The attribute fields (columns) available in data. The property is an array of AGSField objects.

See also
AGSField
Since
100

◆ geometryType

- (AGSGeometryType) geometryType
readnonatomicassigninherited

The type of geometry contained by features.

Since
100

◆ relatedTable

- (AGSArcGISFeatureTable*) relatedTable
readnonatomicstrong

Feature table that the result features belong to.

Since
100.1

◆ relationshipInfo

- (AGSRelationshipInfo*) relationshipInfo
readnonatomicstrong

Relationship that the query results are based on.

Since
100.1

◆ spatialReference

- (AGSSpatialReference*) spatialReference
readnonatomicstronginherited

The spatial reference of the features.

Since
100

◆ transferLimitExceeded

- (BOOL) transferLimitExceeded
readnonatomicassign

Indicates if the results do not include all the features matched by the query. Mostly relevant to queries executed against an ArcGIS Service which typically only return only upto a 1000 results even if the query matched more features.

Since
100.1