java.lang.Object | |
↳ | com.atlassian.query.order.SearchSort |
A simple data bean representing a portion of the sort order (related to a clause) for a search query.
Together via the OrderBy
these will determine the sorting order of the results
returned by a Query
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Used to construct a search sort for a field with a direction.
| |||||||||||
This constructor is deprecated.
use
SearchSort(String, SortOrder) instead. | |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Used to construct a search sort for a field with a direction.
field | to sort by. |
---|---|
order | direction to sort by, if null the default order for the field will be used. |
This constructor is deprecated.
use SearchSort(String, SortOrder)
instead.
Used to construct a search sort for a field with a direction. NOTE: it would be better if the order of these parameters was reversed but we are leaving it for backward compatibility.