| Constructor and Description |
|---|
SortQuery(List<org.apache.commons.lang3.tuple.Pair<String,Sort>> sortParameters)
Constructs a sorting query with multiple sort parameters.
|
SortQuery(String field)
Constructs a sorting query with default order.
|
SortQuery(String field,
Sort sort)
Constructs a sorting query.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.http.NameValuePair> |
getEntries()
Returns a list of get query items.
|
public SortQuery(String field, Sort sort)
field - field's name to sort bysort - sorting order: ascending or descending.public SortQuery(String field)
field - field's name to sort bypublic List<org.apache.http.NameValuePair> getEntries()
QuerygetEntries in interface QueryCopyright © 2023. All rights reserved.