@Exported
public static interface OrderBuilder.OrderChainBuilder<T extends OrderBuilder.OrderChainBuilder<T>>
| Modifier and Type | Method and Description |
|---|---|
Orders |
build()
Returns the complete sequence of orders constructed by this builder.
|
T |
thenBy(SortDirection sortDirection,
String sortField,
String... moreFields)
Cascades sorting orders on the query built by this builder.
|
T |
thenBy(String sortField,
String... moreFields)
Cascades sorting orders on the query built by this builder.
|
T thenBy(String sortField, String... moreFields)
thenBy(SortDirection.ASCENDING, String, String...).sortField - the first field to sort by.moreFields - optionally more fields to sort by.T thenBy(SortDirection sortDirection, String sortField, String... moreFields)
sortDirection - the direction to sort.sortField - the first field to sort by.moreFields - optionally more fields to sort by.SortDirection