| Package | Description |
|---|---|
| org.mayanjun.myjack.api.query |
| Modifier and Type | Method and Description |
|---|---|
SortDirection |
Sort.getDirection()
Get sort order
|
static SortDirection |
SortDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortDirection[] |
SortDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
QueryBuilder<T> |
QueryBuilder.orderBy(String orderField,
SortDirection direction)
Add ORDER BY field
|
void |
Sort.setDirection(SortDirection direction)
Set sort order
|
| Constructor and Description |
|---|
Sort(String name,
SortDirection direction) |
Copyright © 2019. All rights reserved.