ArcGIS Runtime SDK for iOS: AGSStatisticDefinition Class Reference
ArcGIS Runtime SDK for iOS  100.11
AGSStatisticDefinition Class Reference

Description

Defines a statistic to be queried.

Instances of this class represent a type used for defining a statistic to be queried in the feature table.

Since
100.2
Inheritance diagram for AGSStatisticDefinition:
AGSObject

Instance Methods

(instancetype) - initWithOnFieldName:statisticType:outputAlias:
 

Class Methods

(instancetype) + statisticDefinitionWithOnFieldName:statisticType:outputAlias:
 

Properties

NSString * onFieldName
 
NSString * outputAlias
 
AGSStatisticType statisticType
 

Method Documentation

◆ initWithOnFieldName:statisticType:outputAlias:

- (instancetype) initWithOnFieldName: (NSString *)  onFieldName
statisticType: (AGSStatisticType statisticType
outputAlias: (nullable NSString *)  outputAlias 

Initialize a statistic definition with the provided info

Parameters
onFieldNameThe name of the field in the table containing values on which the statistic should be computed.
statisticTypeThe statistic to calculate.
outputAliasThe name for this statistic in the results. This is optional.
Returns
An initialized statistic definition
Since
100.2

◆ statisticDefinitionWithOnFieldName:statisticType:outputAlias:

+ (instancetype) statisticDefinitionWithOnFieldName: (NSString *)  onFieldName
statisticType: (AGSStatisticType statisticType
outputAlias: (nullable NSString *)  outputAlias 

Initialize a statistic definition with the provided info

Parameters
onFieldNameThe name of the field in the table containing values on which the statistic should be computed.
statisticTypeThe statistic to calculate.
outputAliasThe name for this statistic in the results. This is optional.
Returns
An initialized statistic definition
Since
100.2

Property Documentation

◆ onFieldName

- (NSString*) onFieldName
readwritenonatomiccopy

The name of the field in the table containing values on which the statistic should be computed.

Since
100.2

◆ outputAlias

- (NSString*) outputAlias
readwritenonatomiccopy

The name for this statistic in the results.

Since
100.2

◆ statisticType

- (AGSStatisticType) statisticType
readwritenonatomicassign

The statistic to calculate.

Since
100.2