java.lang.Object
com.esri.arcgisruntime.data.QueryParameters.OrderBy
- Enclosing class:
QueryParameters
Represents the field the results are sorted by, and the sort order.
- Since:
- 100.0.0
-
Constructor Summary
ConstructorDescriptionOrderBy
(String fieldName, QueryParameters.SortOrder sortOrder) Creates an instance of OrderBy. -
Method Summary
Modifier and TypeMethodDescriptionGets the field name.Gets the sort order.
-
Constructor Details
-
OrderBy
Creates an instance of OrderBy.- Parameters:
fieldName
- field name to order bysortOrder
- sort order to be applied on the field- Throws:
IllegalArgumentException
- if any of the input is null, or if the field name is empty- Since:
- 100.0.0
-
-
Method Details
-
getFieldName
Gets the field name.- Returns:
- the field name
- Since:
- 100.0.0
-
getSortOrder
Gets the sort order.- Returns:
- the sort order applied to be applied on the field
- Since:
- 100.0.0
-