T
- the type of the items to fetchF
- the type of the optional filter in the query,
Void
if filtering is not supported@FunctionalInterface public static interface CallbackDataProvider.FetchCallback<T,F> extends Serializable
Modifier and Type | Method and Description |
---|---|
Stream<T> |
fetch(Query<T,F> query)
Fetches a stream of items based on a query.
|
Stream<T> fetch(Query<T,F> query)
Query.getOffset()
and
Query.getLimit()
, the sorting through
Query.getSortOrders()
and optionally also any filtering to
use through Query.getFilter()
.query
- the query that defines which items to fetchCopyright © 2018. All rights reserved.