Uses of Class
com.vaadin.flow.data.provider.Query
Packages that use Query
Package
Description
-
Uses of Query in com.vaadin.flow.data.provider
Methods in com.vaadin.flow.data.provider that return QueryModifier 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
.Methods in com.vaadin.flow.data.provider with parameters of type QueryModifier and TypeMethodDescriptionGets the index of the item in the filtered and sorted data set.static <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
Subclasses of Query in com.vaadin.flow.data.provider.hierarchyModifier and TypeClassDescriptionclass
HierarchicalQuery<T,
F> Immutable hierarchical query object used to request data from a backend.Methods in com.vaadin.flow.data.provider.hierarchy with parameters of type QueryModifier 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
Methods in com.vaadin.flow.spring.data with parameters of type QueryModifier 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.