Contains a field name and sort order for use in a query where the results are sorted. More...
| Header | #include <Order |
| Since | Esri |
Public Functions
| Order | |
| Order | |
| Order | |
| Order | |
| ~ | |
| void | clear() |
| QString | field |
| bool | is |
| void | set |
| void | set |
| Esri | sort |
| Esri | operator=( |
| Esri | operator=(const Esri |
Detailed Description
Relevant samples:
- Statistical query (group & sort): Query a feature table for statistics, grouping and sorting by different fields.
Member Function Documentation
OrderBy::OrderBy ()
Default Constructor. Create an empty OrderBy instance.
OrderBy::OrderBy (const QString &fieldName , Esri::ArcGISRuntime::SortOrder sortOrder )
Creates an instance of OrderBy providing fieldName to order by and sortOrder to be applied on the field.
OrderBy::OrderBy (const Esri::ArcGISRuntime::OrderBy &other)
Copy constructor from other OrderBy.
[noexcept] OrderBy::OrderBy (Esri::ArcGISRuntime::OrderBy &&other)
Move constructor from other OrderBy.
[noexcept] OrderBy::~OrderBy ()
Destructor
void OrderBy::clear()
Clears this OrderBy and sets back to empty.
QString OrderBy::fieldName () const
Returns the field name to order by.
See also setFieldName().
bool OrderBy::isEmpty () const
Returns true if this OrderBy is empty.
void OrderBy::setFieldName (const QString &fieldName )
Sets the fieldName to order by.
See also fieldName().
void OrderBy::setSortOrder (Esri::ArcGISRuntime::SortOrder sortOrder )
Sets the sortOrder to be applied to the field.
See also sortOrder().
Esri::ArcGISRuntime::SortOrder OrderBy::sortOrder () const
Returns the sort order applied to the field.
See also setSortOrder().
[noexcept] Esri::ArcGISRuntime::OrderBy &OrderBy::operator=(Esri::ArcGISRuntime::OrderBy &&other)
Move operator from other OrderBy.
Esri::ArcGISRuntime::OrderBy &OrderBy::operator=(const Esri::ArcGISRuntime::OrderBy &other)
Assignment operator from other OrderBy.