public class Sorting extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
Field
The field name.
|
SortOrder |
Order
Optional order of the sorting.
|
String |
ReferenceLocation
Optional (required for fields with location data type specified) String representation of a location point in
the form of
LATITUDE LONGITUDE (e.g. |
| Constructor and Description |
|---|
Sorting() |
public String Field
public SortOrder Order
SortOrder.DESCENDING
for numeric and date types, SortOrder.ASCENDING for other types. For fields with location data type,
results will be sorted according to the distance to the ReferenceLocation and only SortOrder.ASCENDING is supported.public String ReferenceLocation
LATITUDE LONGITUDE (e.g. 53.3478 -6.2597). This is used for distance sorting on a location field.Copyright © 2025. All rights reserved.