Represents a type used for defining a statistic to be queried for in the table. More...
| Header | #include <Statistic |
| Since | Esri |
This class was introduced in Esri::ArcGISRuntime 100.2.
Public Functions
| Statistic | |
| Statistic | |
| Statistic | |
| Statistic | |
| Esri | operator=( |
| Esri | operator=(const Esri |
| ~ | |
| void | clear() |
| bool | is |
| QString | on |
| QString | output |
| void | set |
| void | set |
| void | set |
| Esri | statistic |
Detailed Description
A statistic definition must specify a field name and statistic type. Optionally, you can provide a name for the output statistic result.
Member Function Documentation
StatisticDefinition::StatisticDefinition (Esri::ArcGISRuntime::StatisticDefinition &&other)
Move constructor from other StatisticDefinition.
StatisticDefinition::StatisticDefinition (const Esri::ArcGISRuntime::StatisticDefinition &other)
Copy constructor from other StatisticDefinition.
StatisticDefinition::StatisticDefinition (const QString &onFieldName , Esri::ArcGISRuntime::StatisticType statisticType , const QString &outputAlias )
Creates a statistic definition, with a field name (onFieldName), a statistic type (statisticType), and a name for the output statistic result (outputAlias).
StatisticDefinition::StatisticDefinition ()
Default Constructor. Create an empty StatisticDefinition instance.
Esri::ArcGISRuntime::StatisticDefinition &StatisticDefinition::operator=(Esri::ArcGISRuntime::StatisticDefinition &&other)
Move operator from other StatisticDefinition.
Esri::ArcGISRuntime::StatisticDefinition &StatisticDefinition::operator=(const Esri::ArcGISRuntime::StatisticDefinition &other)
Assignment operator from other StatisticDefinition.
StatisticDefinition::~StatisticDefinition ()
Destructor
void StatisticDefinition::clear()
Clears this StatisticDefinition and sets back to empty.
bool StatisticDefinition::isEmpty () const
Returns whether this StatisticDefinition is empty.
QString StatisticDefinition::onFieldName () const
Returns the name of the field in the table containing values to be used for the statistic.
See also setOnFieldName().
QString StatisticDefinition::outputAlias () const
Returns the optional name for this statistic in the results.
See also setOutputAlias().
void StatisticDefinition::setOnFieldName (const QString &onFieldName )
Sets the name of the field (onFieldName) in the table containing values to be used for the statistic.
See also onFieldName().
void StatisticDefinition::setOutputAlias (const QString &outputAlias )
Sets the optional name (outputAlias) for this statistic in the results.
See also outputAlias().
void StatisticDefinition::setStatisticType (Esri::ArcGISRuntime::StatisticType statisticType )
Sets the statistic (statisticType) to calculate.
See also statisticType() and StatisticType.
Esri::ArcGISRuntime::StatisticType StatisticDefinition::statisticType () const
Returns the statistic to calculate.
See also setStatisticType() and StatisticType.