public abstract class Ordering extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Ordering.SortOrder
SortOrder represents a single ORDER BY entity.
|
| Constructor and Description |
|---|
Ordering() |
| Modifier and Type | Method and Description |
|---|---|
static Ordering.SortOrder |
expression(Expression expression)
Create a SortOrder, inherited from the OrderBy class, object by the given expression.
|
static Ordering.SortOrder |
property(String property)
Create a SortOrder, inherited from the OrderBy class, object by the given
property name.
|
@NonNull public static Ordering.SortOrder property(@NonNull String property)
property - the property name@NonNull public static Ordering.SortOrder expression(@NonNull Expression expression)
expression - the expression object.