| Package | Description |
|---|---|
| com.vaadin.flow.component.grid | |
| com.vaadin.flow.data.provider | |
| com.vaadin.flow.data.provider.hierarchy |
| Modifier and Type | Method and Description |
|---|---|
Stream<QuerySortOrder> |
SortOrderProvider.apply(SortDirection sortDirection)
Generates the sort orders when rows are sorted by a column.
|
Stream<QuerySortOrder> |
Grid.Column.getSortOrder(SortDirection direction)
Gets the sort orders to use with back-end sorting for this column
when sorting in the given direction.
|
| Modifier and Type | Method and Description |
|---|---|
protected QuerySortOrder |
QuerySortOrderBuilder.createSortOrder(String by,
SortDirection direction) |
| Modifier and Type | Method and Description |
|---|---|
List<QuerySortOrder> |
DataCommunicator.getBackEndSorting()
Returns the
QuerySortOrder to use with backend sorting. |
List<QuerySortOrder> |
Query.getSortOrders()
Gets the sorting for items to fetch.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
BackEndDataProvider.setSortOrder(QuerySortOrder sortOrder)
Sets a single sort order to use as the default sorting for this data
provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DataCommunicator.setBackEndSorting(List<QuerySortOrder> sortOrder)
Sets the
QuerySortOrders to use with backend sorting. |
void |
BackEndDataProvider.setSortOrders(List<QuerySortOrder> sortOrders)
Sets a list of sort orders to use as the default sorting for this data
provider.
|
void |
AbstractBackEndDataProvider.setSortOrders(List<QuerySortOrder> sortOrders) |
| Constructor and Description |
|---|
Query(int offset,
int limit,
List<QuerySortOrder> sortOrders,
Comparator<T> inMemorySorting,
F filter)
Constructs a new Query object with given offset, limit, sorting and
filtering.
|
| Modifier and Type | Method and Description |
|---|---|
List<QuerySortOrder> |
HierarchyMapper.getBackEndSorting()
Gets the current back-end sorting.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HierarchyMapper.setBackEndSorting(List<QuerySortOrder> backEndSorting)
Sets the current back-end sorting.
|
void |
HierarchicalDataCommunicator.setBackEndSorting(List<QuerySortOrder> sortOrder) |
void |
AbstractBackEndHierarchicalDataProvider.setSortOrders(List<QuerySortOrder> sortOrders) |
| Constructor and Description |
|---|
HierarchicalQuery(int offset,
int limit,
List<QuerySortOrder> sortOrders,
Comparator<T> inMemorySorting,
F filter,
T parent)
Constructs a new hierarchical query object with given offset, limit,
sorting and filtering.
|
Copyright © 2025. All rights reserved.