ArcGIS Runtime SDK for iOS: AGSTableQuerySublayerSource.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSTableQuerySublayerSource.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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/AGSSublayerSource.h>
27 #import <ArcGIS/AGSGeometry.h>
28 
29 @class AGSSpatialReference;
30  //Required for Globals API doc
32 
41 
42 
43 
44 #pragma mark -
45 #pragma mark initializers
46 
47 
48 
55 -(instancetype)initWithWorkspaceID:(NSString *)workspaceID
56  SQLQuery:(NSString *)SQLQuery
57  objectIDFieldNames:(NSArray<NSString*> *)objectIDFieldNames;
58 
66 +(instancetype)tableQuerySublayerSourceWithWorkspaceID:(NSString *)workspaceID
67  SQLQuery:(NSString *)SQLQuery
68  objectIDFieldNames:(NSArray<NSString*> *)objectIDFieldNames;
69 
70 #pragma mark -
71 #pragma mark properties
72 
76 @property (nonatomic, copy, readonly) NSString *SQLQuery;
77 
81 @property (nonatomic, assign, readwrite) AGSGeometryType geometryType;
82 
89  @property (nonatomic, copy, readonly) NSArray<NSString*> *objectIDFieldNames;
90 
94 @property (nullable, nonatomic, strong, readwrite) AGSSpatialReference *spatialReference;
95 
99 @property (nonatomic, copy, readonly) NSString *workspaceID;
100 
101 #pragma mark -
102 #pragma mark methods
103 
104 
105 
106 @end
AGSGeometryType
Definition: AGSGeometry.h:49
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:46
Base class for sources of a map image sublayer.
Definition: AGSSublayerSource.h:43
A source for AGSArcGISMapImageSublayer based on a SQL query of a dataset in a registered workspace.
Definition: AGSTableQuerySublayerSource.h:41
AGSSpatialReference * spatialReference
Definition: AGSTableQuerySublayerSource.h:94
NSArray< NSString * > * objectIDFieldNames
Definition: AGSTableQuerySublayerSource.h:89
AGSGeometryType geometryType
Definition: AGSTableQuerySublayerSource.h:81
NSString * SQLQuery
Definition: AGSTableQuerySublayerSource.h:76
NSString * workspaceID
Definition: AGSTableQuerySublayerSource.h:99