<AGSQueryTaskDelegate> Protocol Reference
Description
A protocol which must be adopted by any class wishing to be notified when the AGSQueryTask
completes successfully or encounters an error. An instance of the class must then be set as the delegate
of AGSQueryTask
.
- Defined in:
- AGSQueryTask.h ( ArcGIS library)
- Since:
- 1.0
List of all members.
Member Function Documentation
- (void) queryTask: |
|
(AGSQueryTask *) |
queryTask |
operation: |
|
(NSOperation *) |
op |
didExecuteWithFeatureCount: |
|
(NSInteger) |
count | |
|
|
| | [optional] |
Tells the delegate that AGSQueryTask
completed query with feature count successfully.
- Parameters:
-
| queryTask | The task which performed the query. |
| op | NSOperation that performed the query task. |
| count | The feature count returned by the query. |
- Since:
- 1.0
- (void) queryTask: |
|
(AGSQueryTask *) |
queryTask |
operation: |
|
(NSOperation *) |
op |
didExecuteWithFeatureSetResult: |
|
(AGSFeatureSet *) |
featureSet | |
|
|
| | [optional] |
Tells the delegate that AGSQueryTask
completed successfully with the provided results.
- Parameters:
-
| queryTask | The task which performed the query. |
| op | NSOperation that performed the query task. |
| featureSet | The feature set returned by executing query. |
- Since:
- 1.0
- (void) queryTask: |
|
(AGSQueryTask *) |
queryTask |
operation: |
|
(NSOperation *) |
op |
didExecuteWithObjectIds: |
|
(NSArray *) |
objectIds | |
|
|
| | [optional] |
Tells the delegate that AGSQueryTask
completed query for IDs successfully with the provided results.
- Parameters:
-
| queryTask | The task which performed the query. |
| op | NSOperation that performed the query task. |
| objectIds | The array of object IDs returned by executing query. |
- Since:
- 1.0
- (void) queryTask: |
|
(AGSQueryTask *) |
queryTask |
operation: |
|
(NSOperation *) |
op |
didExecuteWithRelatedFeatures: |
|
(NSDictionary *) |
relatedFeatures | |
|
|
| | [optional] |
Tells the delegate that AGSQueryTask
completed query for related features successfully with the provided results.
The related features are returned as a dictionary of key-value pairs. Keys contain NSNumber
objects representing IDs from AGSRelationshipQuery
objectIds
. Values contain arrays of AGSFeatureSet
objects representing the corresponding related features.
- Parameters:
-
| queryTask | The task which performed the query. |
| op | NSOperation that performed the query task. |
| relatedFeatures | The related features returned by executing query. |
- Since:
- 1.0
- (void) queryTask: |
|
(AGSQueryTask *) |
queryTask |
operation: |
|
(NSOperation *) |
op |
didFailQueryFeatureCountWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that AGSQueryTask
encountered an error while performing query for feature count.
- Parameters:
-
| queryTask | The task which performed the query. |
| op | NSOperation that performed the query task. |
| error | Information about the error returned by the service. |
- Since:
- 1.0
- (void) queryTask: |
|
(AGSQueryTask *) |
queryTask |
operation: |
|
(NSOperation *) |
op |
didFailQueryForIdsWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that AGSQueryTask
encountered an error while performing query for IDs.
- Parameters:
-
| queryTask | The task which performed the query. |
| op | NSOperation that performed the query task. |
| error | Information about the error returned by the service. |
- Since:
- 1.0
- (void) queryTask: |
|
(AGSQueryTask *) |
queryTask |
operation: |
|
(NSOperation *) |
op |
didFailRelationshipQueryWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that AGSQueryTask
encountered an error while performing query for related features.
- Parameters:
-
| queryTask | The task which performed the query. |
| op | NSOperation that performed the query task. |
| error | Information about the error returned by the service. |
- Since:
- 1.0
- (void) queryTask: |
|
(AGSQueryTask *) |
queryTask |
operation: |
|
(NSOperation *) |
op |
didFailWithError: |
|
(NSError *) |
error | |
|
|
| | [optional] |
Tells the delegate that AGSQueryTask
encountered an error.
- Parameters:
-
| queryTask | The task which performed the query. |
| op | NSOperation that performed the query task. |
| error | Information about the error returned by the service. |
- Since:
- 1.0