Package com.vaadin.flow.component.grid
Interface SortOrderProvider
- All Superinterfaces:
Function<SortDirection,
,Stream<QuerySortOrder>> Serializable
,SerializableFunction<SortDirection,
Stream<QuerySortOrder>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface SortOrderProvider
extends SerializableFunction<SortDirection,Stream<QuerySortOrder>>
Generates the sort orders when rows are sorted by a column.
- Author:
- Vaadin Ltd
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionapply
(SortDirection sortDirection) Generates the sort orders when rows are sorted by a column.
-
Method Details
-
apply
Generates the sort orders when rows are sorted by a column.- Specified by:
apply
in interfaceFunction<SortDirection,
Stream<QuerySortOrder>> - Parameters:
sortDirection
- desired sort direction- Returns:
- sort information
-