ArcGIS Runtime SDK for iOS: AGSStatisticsQueryParameters.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSStatisticsQueryParameters.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27 #import <ArcGIS/AGSSpatialRelationship.h>
28 
30 @class AGSGeometry;
31 @class AGSOrderBy;
32 @class AGSTimeExtent;
33  //Required for Globals API doc
35 
44 
45 
46 
47 #pragma mark -
48 #pragma mark initializers
49 
50 
51 
57 -(instancetype)initWithStatisticDefinitions:(NSArray<AGSStatisticDefinition*> *)statisticDefinitions;
58 
64 +(instancetype)statisticsQueryParametersWithStatisticDefinitions:(NSArray<AGSStatisticDefinition*> *)statisticDefinitions;
65 
66 #pragma mark -
67 #pragma mark properties
68 
72 @property (nullable, nonatomic, strong, readwrite) AGSGeometry *geometry;
73 
77 @property (nonatomic, copy, readwrite) NSArray<NSString*> *groupByFieldNames;
78 
82 @property (nonatomic, copy, readwrite) NSArray<AGSOrderBy*> *orderByFields;
83 
87 @property (nonatomic, assign, readwrite) AGSSpatialRelationship spatialRelationship;
88 
92 @property (nonatomic, copy, readwrite) NSArray<AGSStatisticDefinition*> *statisticDefinitions;
93 
97 @property (nonatomic, copy, readwrite) NSString *whereClause;
98 
102 @property (nullable, nonatomic, strong, readwrite) AGSTimeExtent *timeExtent;
103 
104 #pragma mark -
105 #pragma mark methods
106 
107 
108 
109 @end
AGSSpatialRelationship
Definition: AGSSpatialRelationship.h:35
Base class for all classes that represent geometric shapes.
Definition: AGSGeometry.h:121
Definition: AGSObject.h:28
An object that is used to specify the sort order of query results.
Definition: AGSOrderBy.h:48
Defines a statistic to be queried.
Definition: AGSStatisticDefinition.h:54
Parameters to perform a statistic query using AGSFeatureTable.
Definition: AGSStatisticsQueryParameters.h:44
NSArray< AGSStatisticDefinition * > * statisticDefinitions
Definition: AGSStatisticsQueryParameters.h:92
NSString * whereClause
Definition: AGSStatisticsQueryParameters.h:97
NSArray< AGSOrderBy * > * orderByFields
Definition: AGSStatisticsQueryParameters.h:82
AGSTimeExtent * timeExtent
Definition: AGSStatisticsQueryParameters.h:102
NSArray< NSString * > * groupByFieldNames
Definition: AGSStatisticsQueryParameters.h:77
AGSGeometry * geometry
Definition: AGSStatisticsQueryParameters.h:72
AGSSpatialRelationship spatialRelationship
Definition: AGSStatisticsQueryParameters.h:87
Represents a span of time between a start time and end time.
Definition: AGSTimeExtent.h:42