ArcGIS Runtime SDK for iOS: AGSStatisticsQueryParameters.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSStatisticsQueryParameters.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <ArcGIS/AGSObject.h>
20 #import <ArcGIS/AGSSpatialRelationship.h>
21 
23 @class AGSGeometry;
24 @class AGSOrderBy;
25 @class AGSTimeExtent;
26  //Required for Globals API doc
28 
37 
38 
39 
40 #pragma mark -
41 #pragma mark initializers
42 
43 
44 
50 -(instancetype)initWithStatisticDefinitions:(NSArray<AGSStatisticDefinition*> *)statisticDefinitions;
51 
57 +(instancetype)statisticsQueryParametersWithStatisticDefinitions:(NSArray<AGSStatisticDefinition*> *)statisticDefinitions;
58 
59 #pragma mark -
60 #pragma mark properties
61 
65 @property (nullable, nonatomic, strong, readwrite) AGSGeometry *geometry;
66 
70 @property (nonatomic, copy, readwrite) NSArray<NSString*> *groupByFieldNames;
71 
75 @property (nonatomic, copy, readwrite) NSArray<AGSOrderBy*> *orderByFields;
76 
80 @property (nonatomic, assign, readwrite) AGSSpatialRelationship spatialRelationship;
81 
85 @property (nonatomic, copy, readwrite) NSArray<AGSStatisticDefinition*> *statisticDefinitions;
86 
90 @property (nonatomic, copy, readwrite) NSString *whereClause;
91 
95 @property (nullable, nonatomic, strong, readwrite) AGSTimeExtent *timeExtent;
96 
97 #pragma mark -
98 #pragma mark methods
99 
100 
101 
102 @end
Defines a statistic to be queried.
Definition: AGSStatisticDefinition.h:46
Represents a span of time between a start time and end time.
Definition: AGSTimeExtent.h:32
Defines common members for all specific types of geometry.
Definition: AGSGeometry.h:106
AGSTimeExtent * timeExtent
Definition: AGSStatisticsQueryParameters.h:95
AGSSpatialRelationship
Definition: AGSSpatialRelationship.h:29
NSArray< NSString * > * groupByFieldNames
Definition: AGSStatisticsQueryParameters.h:70
NSString * whereClause
Definition: AGSStatisticsQueryParameters.h:90
An object that is used to specify the sort order of query results.
Definition: AGSOrderBy.h:40
AGSGeometry * geometry
Definition: AGSStatisticsQueryParameters.h:65
NSArray< AGSOrderBy * > * orderByFields
Definition: AGSStatisticsQueryParameters.h:75
Definition: AGSObject.h:21
Parameters to perform a statistic query using AGSFeatureTable.
Definition: AGSStatisticsQueryParameters.h:36
AGSSpatialRelationship spatialRelationship
Definition: AGSStatisticsQueryParameters.h:80