T
- the type of the items to countF
- the type of the optional filter in the query,
Void
if filtering is not supported@FunctionalInterface public static interface CallbackDataProvider.CountCallback<T,F> extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
count(Query<T,F> query)
Counts the number of available items based on a query.
|
int count(Query<T,F> query)
Query.getFilter()
. The query also contains information about
paging and sorting although that information is generally not
applicable for determining the number of items.query
- the query that defines which items to countCopyright © 2018. All rights reserved.