public interface OrderBy
Specifies an order by clause.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Builds aOrderBy
instance.static enum
Specifies how to handle null values during order by.static interface
Specifies an order by column and whether it's ascending or descending -
Method Summary
Modifier and TypeMethodDescriptionstatic OrderBy
static OrderBy.Builder
builder()
Creates aOrderBy.Builder
instance.static OrderBy
descending
(Column<?>... columns)
-
Method Details
-
orderByColumns
List<OrderBy.OrderByColumn> orderByColumns()- Returns:
- the order by columns comprising this order by clause
-
builder
Creates aOrderBy.Builder
instance.- Returns:
- a
OrderBy.Builder
instance
-
ascending
- Parameters:
columns
- the columns to order by ascending- Returns:
- a new ascending OrderBy instance based on the given columns
-
descending
- Parameters:
columns
- the columns to order by descending- Returns:
- a new descending OrderBy instance based on the given columns
-