AggregateField

constructor(name: String, statisticExpression: ArcadeExpression, statisticType: AggregateStatisticType)

Creates an AggregateField object.

Since

200.3.0

Parameters

name

A name that uniquely identifies the aggregate field within the AggregationFeatureReduction.aggregateFields collection.

statisticExpression

An Arcade expression that evaluates to either a string or a number.

statisticType

Type of statistic used to summarize numeric field for aggregated geoelements.


constructor(name: String, statisticFieldName: String, statisticType: AggregateStatisticType)

Creates an AggregateField object.

Since

200.3.0

Parameters

name

A name that uniquely identifies the aggregate field within the AggregationFeatureReduction.aggregateFields collection.

statisticFieldName

An attribute name from the source dataset that contains numeric values to summarize.

statisticType

Type of statistic used to summarize numeric field for aggregated geoelements.