public class Sort
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Sort |
EMPTY_SORT |
Constructor and Description |
---|
Sort(java.util.List<SortField> sortFields)
Creates a new sort from the sort fields.
|
Modifier and Type | Method and Description |
---|---|
static Sort |
emptySort()
Returns an empty sort.
|
java.util.List<SortField> |
getSortFields()
Returns the sort fields.
|