A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-aggregatefield.html below:

AggregateField Class | ArcGIS Maps SDK for Qt

Member Function Documentation AggregateField::AggregateField(const QString &name, Esri::ArcGISRuntime::ArcadeExpression *statisticExpression, Esri::ArcGISRuntime::AggregateStatisticType statisticType, QObject *parent = nullptr)

Creates an AggregateField object.

AggregateField::AggregateField(const QString &name, const QString &statisticFieldName, Esri::ArcGISRuntime::AggregateStatisticType statisticType, QObject *parent = nullptr)

Creates an AggregateField object.

[override virtual noexcept] AggregateField::~AggregateField()

Destructor.

QString AggregateField::alias() const

Returns a display name for the field that appears in a Popup, label, and other UI elements.

See also setAlias().

QString AggregateField::name() const

Returns a name that uniquely identifies the aggregate field within the AggregationFeatureReduction::aggregateFields collection. Clusters will not draw correctly if AggregateField.name is empty or does not match the field name used by AggregationFeatureReduction::renderer.

For example, an AggregateField that summarizes `population` values might have the alias `population_sum`.

See also setName().

void AggregateField::setAlias(const QString &alias)

Sets the alias to alias.

See also alias.

void AggregateField::setName(const QString &name)

Sets the name to name.

See also name.

void AggregateField::setStatisticExpression(Esri::ArcGISRuntime::ArcadeExpression *statisticExpression)

Sets the statisticExpression to statisticExpression.

See also statisticExpression.

void AggregateField::setStatisticFieldName(const QString &statisticFieldName)

Sets the statisticFieldName to statisticFieldName.

See also statisticFieldName.

void AggregateField::setStatisticType(Esri::ArcGISRuntime::AggregateStatisticType statisticType)

Sets the statisticType to statisticType.

See also statisticType.

Esri::ArcGISRuntime::ArcadeExpression *AggregateField::statisticExpression() const

Returns an Arcade expression that must evaluate to either a string or a number.

The expression is evaluated for each geoelement represented by the AggregateGeoElement and the result of the expression is summarized using the given statistic type.

See also setStatisticExpression().

QString AggregateField::statisticFieldName() const

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

Alternatively, an Arcade expression (statisticExpression) can be used instead of an AggregateStatisticType. If present, this value always takes precedence over statisticExpression.

See also setStatisticFieldName().

Esri::ArcGISRuntime::AggregateStatisticType AggregateField::statisticType() const

Defines and returns defines the type of statistic for summarizing values returned from statisticFieldName or statisticExpression.

See also setStatisticType().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4