public abstract class Ordering extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Ordering.SortOrder
SorderOrder 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.
|
public static Ordering.SortOrder property(String property)
property
- the property namepublic static Ordering.SortOrder expression(Expression expression)
expression
- the expression object.