T - the grid bean type@FunctionalInterface public static interface Grid.FetchItemsCallback<T> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Stream<T> |
fetchItems(List<QuerySortOrder> sortOrder,
int offset,
int limit)
Returns a stream of items ordered by given sort orders, limiting the
results with given offset and limit.
|
Stream<T> fetchItems(List<QuerySortOrder> sortOrder, int offset, int limit)
This method is called after the size of the data set is asked from a related size callback. The offset and limit are promised to be within the size of the data set.
sortOrder - a list of sort ordersoffset - the first index to fetchlimit - the fetched item countCopyright © 2020 Vaadin Ltd. All rights reserved.