Package com.vaadin.flow.component.grid
Interface SortOrderProvider
-
- All Superinterfaces:
Function<com.vaadin.flow.data.provider.SortDirection,Stream<com.vaadin.flow.data.provider.QuerySortOrder>>,Serializable,com.vaadin.flow.function.SerializableFunction<com.vaadin.flow.data.provider.SortDirection,Stream<com.vaadin.flow.data.provider.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 com.vaadin.flow.function.SerializableFunction<com.vaadin.flow.data.provider.SortDirection,Stream<com.vaadin.flow.data.provider.QuerySortOrder>>
Generates the sort orders when rows are sorted by a column.- Author:
- Vaadin Ltd
- See Also:
Grid.Column.setSortOrderProvider(com.vaadin.flow.component.grid.SortOrderProvider)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stream<com.vaadin.flow.data.provider.QuerySortOrder>apply(com.vaadin.flow.data.provider.SortDirection sortDirection)Generates the sort orders when rows are sorted by a column.
-
-
-
Method Detail
-
apply
Stream<com.vaadin.flow.data.provider.QuerySortOrder> apply(com.vaadin.flow.data.provider.SortDirection sortDirection)
Generates the sort orders when rows are sorted by a column.
-
-