We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.grid.
Package com.vaadin.flow.component.grid
Interface Grid.SpringData.CountCallback<PAGEABLE>
All Superinterfaces:
Enclosing interface:
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 static interface Grid.SpringData.CountCallback<PAGEABLE>
extends Serializable
Callback interface for counting the number of items in a backend based on a Spring Data Pageable.
-
Method Summary
-
Method Details
-
count
Counts the number of available items based on a pageable. The pageable defines the paging of the items to fetch and the sorting and is provided although it is generally not needed for determining the number of items.
Parameters:
pageable
- the pageable that defines which items to fetch and the sort orderReturns:
the number of available items
-