Contains parameters for a query for statistics. More...
| Header | #include <Statistics |
| Since | Esri |
This class was introduced in Esri::ArcGISRuntime 100.2.
Public Functions
| Statistics | |
| Statistics | |
| Statistics | |
| Statistics | |
| Esri | operator=( |
| Esri | operator=(const Esri |
| ~ | |
| void | clear() |
| Esri | geometry() const |
| QString | group |
| bool | is |
| QList | order |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| Esri | spatial |
| QList | statistic |
| Esri | time |
| QString | where |
Detailed Description
Queries can find statistics based on a geometry filter, or a SQL WHERE clause.
Member Function Documentation
StatisticsQueryParameters::StatisticsQueryParameters (Esri::ArcGISRuntime::StatisticsQueryParameters &&other)
Move constructor from other StatisticsQueryParameters.
StatisticsQueryParameters::StatisticsQueryParameters (const Esri::ArcGISRuntime::StatisticsQueryParameters &other)
Copy constructor from other StatisticsQueryParameters.
StatisticsQueryParameters::StatisticsQueryParameters (const QList<Esri::ArcGISRuntime::StatisticDefinition > &statisticDefinitions )
Create a StatisticsQueryParameters instance with the definition of statistics (statisticDefinitions) to include in a statistical query of a table.
StatisticsQueryParameters::StatisticsQueryParameters ()
Default Constructor. Create an empty StatisticsQueryParameters instance.
Esri::ArcGISRuntime::StatisticsQueryParameters &StatisticsQueryParameters::operator=(Esri::ArcGISRuntime::StatisticsQueryParameters &&other)
Move operator from other StatisticsQueryParameters.
Esri::ArcGISRuntime::StatisticsQueryParameters &StatisticsQueryParameters::operator=(const Esri::ArcGISRuntime::StatisticsQueryParameters &other)
Assignment operator from other StatisticsQueryParameters.
StatisticsQueryParameters::~StatisticsQueryParameters ()
Destructor
void StatisticsQueryParameters::clear()
Clears this StatisticsQueryParameters and sets back to empty.
Esri::ArcGISRuntime::Geometry StatisticsQueryParameters::geometry() const
Returns the geometry to use as a filter.
See also setGeometry().
QStringList StatisticsQueryParameters::groupByFieldNames () const
Returns the fields by which statistical query results will be grouped.
See also setGroupByFieldNames().
bool StatisticsQueryParameters::isEmpty () const
Returns whether this StatisticsQueryParameters is empty.
QList<Esri::ArcGISRuntime::OrderBy > StatisticsQueryParameters::orderByFields () const
Returns the sort order of result.
See also setOrderByFields.
void StatisticsQueryParameters::setGeometry (const Esri::ArcGISRuntime::Geometry &geometry)
Sets the geometry to use as a filter.
See also geometry().
void StatisticsQueryParameters::setGroupByFieldNames (const QStringList &groupByFieldNames )
Sets the fields by which statistical query results will be grouped to groupByFieldNames.
See also groupByFieldNames().
void StatisticsQueryParameters::setOrderByFields (const QList<Esri::ArcGISRuntime::OrderBy > &orderByFields )
Sets the orderByFields to be applied to the query operation.
Results can be sorted on one or more fields. Each OrderBy instance includes a field name and whether to sort by that field in ascending or descending order.
See also orderByFields() and OrderBy.
void StatisticsQueryParameters::setSpatialRelationship (Esri::ArcGISRuntime::SpatialRelationship relationship)
Sets the spatial relationship to use when applying the geometry filter.
See also spatialRelationship().
void StatisticsQueryParameters::setStatisticDefinitions (const QList<Esri::ArcGISRuntime::StatisticDefinition > &statisticDefinitions )
Sets the definition of statistics (input field, output name, statistic type) to include in a statistical query of a table to statisticDefinitions.
See also statisticDefinitions().
void StatisticsQueryParameters::setTimeExtent (const Esri::ArcGISRuntime::TimeExtent &timeExtent )
Sets the time extent to apply in the query to timeExtent.
This function was introduced in Esri::ArcGISRuntime 100.3.
See also timeExtent().
void StatisticsQueryParameters::setWhereClause (const QString &whereClause )
Sets the SQL whereClause to apply in the query.
See also whereClause().
Esri::ArcGISRuntime::SpatialRelationship StatisticsQueryParameters::spatialRelationship () const
Returns the spatial relationship to use when applying the geometry filter.
See also setSpatialRelationship().
QList<Esri::ArcGISRuntime::StatisticDefinition > StatisticsQueryParameters::statisticDefinitions () const
Returns the definition of statistics (input field, output name, statistic type) to include in a statistical query of a table.
See also setStatisticDefinitions().
Esri::ArcGISRuntime::TimeExtent StatisticsQueryParameters::timeExtent () const
Returns the time extent to apply in the query.
This function was introduced in Esri::ArcGISRuntime 100.3.
See also setTimeExtent().
QString StatisticsQueryParameters::whereClause () const
Returns the SQL WHERE clause to apply in the query.
See also setWhereClause().