| Modifier and Type | Method and Description |
|---|---|
static Sort.Direction |
Sort.Direction.fromString(String value)
Returns the
Sort.Direction enum for the given String value. |
static Sort.Direction |
Sort.Direction.fromStringOrNull(String value)
|
Sort.Direction |
Sort.Order.getDirection()
Returns the sort direction.
|
static Sort.Direction |
Sort.Direction.valueOf(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 and Description |
|---|---|
Sort.Order |
Sort.Order.with(Sort.Direction direction)
Returns a new
Sort.Order with the given Sort.Direction. |
| Constructor and Description |
|---|
Order(Sort.Direction direction,
String path)
Creates a new
Sort.Order with the given direction and path. |
Order(Sort.Direction direction,
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,
String... paths)
Creates a new
PageRequest with a sorting based on the given paths and direction. |
Sort(Sort.Direction direction,
List<String> paths)
Creates a new Sort with the given paths and given direction.
|
Sort(Sort.Direction direction,
String... paths)
Creates a new Sort with the given paths the given direction.
|
Copyright © 2014–2018 Blazebit. All rights reserved.