| Modifier and Type | Method | Description |
|---|---|---|
static Sort.Direction |
Sort.Direction.fromString(java.lang.String value) |
Returns the
Sort.Direction enum for the given String value. |
static Sort.Direction |
Sort.Direction.fromStringOrNull(java.lang.String value) |
|
Sort.Direction |
Sort.Order.getDirection() |
Returns the sort direction.
|
static Sort.Direction |
Sort.Direction.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Sort.Direction[] |
Sort.Direction.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
Sort.Order |
Sort.Order.with(Sort.Direction direction) |
Returns a new
Sort.Order with the given Sort.Direction. |
| Constructor | Description |
|---|---|
Order(Sort.Direction direction,
java.lang.String path) |
Creates a new
Sort.Order with the given direction and path. |
Order(Sort.Direction direction,
java.lang.String path,
Sort.NullHandling nullHandling) |
Creates a new
Sort.Order with the given direction, path and null handling. |
PageRequest(int page,
int pageSize,
Sort.Direction direction,
java.lang.String... paths) |
Creates a new
PageRequest with a sorting based on the given paths and direction. |
Sort(Sort.Direction direction,
java.lang.String... paths) |
Creates a new Sort with the given paths the given direction.
|
Sort(Sort.Direction direction,
java.util.List<java.lang.String> paths) |
Creates a new Sort with the given paths and given direction.
|
Copyright © 2014–2019 Blazebit. All rights reserved.