@Experimental public class SortProperty extends Object
SortBy,
SortDirection| Constructor and Description |
|---|
SortProperty(String property,
SortDirection direction)
Creates a new sort property.
|
| Modifier and Type | Method and Description |
|---|---|
SortDirection |
getDirection()
Get the sort direction.
|
String |
getProperty()
Get the property to sort by.
|
static SortProperty |
of(String property,
SortDirection direction)
Static factory method to create a SortProperty instance.
|
public SortProperty(String property, SortDirection direction)
property - the property to sort bydirection - the sort directionpublic static SortProperty of(String property, SortDirection direction)
property - the property to sort bydirection - the sort directionpublic String getProperty()
public SortDirection getDirection()
Copyright © 2026 lettuce.io. All rights reserved.