Uses of Class
com.vaadin.flow.data.provider.Query
Package
Description
-
Uses of Query in com.vaadin.flow.data.provider
Modifier and TypeMethodDescriptionDataCommunicator.buildQuery
(int offset, int limit) Generate a data query with component sorting and filtering.static Query
Generates a data query with component's in-memory filter and sort comparator.static Query
Generates a data query with component's in-memory filter and sort comparator, which is optionally included ifwithSorting
is set totrue
.Modifier and TypeMethodDescriptionstatic <T,
C, F> F FilterUtils.convertFilter
(SerializableFunction<C, F> filterConverter, Query<T, C> query) Gets the filter converted from a query filter by thefilterConverter
.int
Counts the number of available items based on a query.Fetches a stream of items based on a query.Fetches data from this DataProvider using givenquery
.ListDataProvider.fetch
(Query<T, SerializablePredicate<T>> query) AbstractBackEndDataProvider.fetchFromBackEnd
(Query<T, F> query) Fetches data from the back end using the given query.CallbackDataProvider.fetchFromBackEnd
(Query<T, F> query) protected F
protected abstract M
Gets the filter that should be used in the modified Query.int
int
Gets the amount of data in this DataProvider.int
int
ListDataProvider.size
(Query<T, SerializablePredicate<T>> query) protected abstract int
AbstractBackEndDataProvider.sizeInBackEnd
(Query<T, F> query) Counts the number of items available in the back end.protected int
CallbackDataProvider.sizeInBackEnd
(Query<T, F> query) -
Uses of Query in com.vaadin.flow.data.provider.hierarchy
Modifier and TypeClassDescriptionclass
HierarchicalQuery<T,
F> Immutable hierarchical query object used to request data from a backend.Modifier and TypeMethodDescriptionFetches data from this HierarchicalDataProvider using givenquery
.default int
Get the number of immediate child data items for the parent item returned by a given query. -
Uses of Query in com.vaadin.flow.spring.data
Modifier and TypeMethodDescriptionstatic org.springframework.data.domain.Sort
VaadinSpringDataHelpers.toSpringDataSort
(Query<?, ?> vaadinQuery) Translates given Query object from a Vaadin component to Spring Data Sort object.static org.springframework.data.domain.PageRequest
VaadinSpringDataHelpers.toSpringPageRequest
(Query<?, ?> vaadinQuery) Creates a Spring DataPageRequest
based on the VaadinQuery
object.