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 QueryGenerates a data query with component's in-memory filter and sort comparator.static QueryGenerates a data query with component's in-memory filter and sort comparator, which is optionally included ifwithSortingis set totrue.Methods in com.vaadin.flow.data.provider with parameters of type QueryModifier 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.intCounts 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 Fprotected abstract MGets the filter that should be used in the modified Query.intintGets the amount of data in this DataProvider.intintListDataProvider.size(Query<T, SerializablePredicate<T>> query) protected abstract intAbstractBackEndDataProvider.sizeInBackEnd(Query<T, F> query) Counts the number of items available in the back end.protected intCallbackDataProvider.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 TypeClassDescriptionclassHierarchicalQuery<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 intGet 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.SortVaadinSpringDataHelpers.toSpringDataSort(Query<?, ?> vaadinQuery) Translates given Query object from a Vaadin component to Spring Data Sort object.static org.springframework.data.domain.PageRequestVaadinSpringDataHelpers.toSpringPageRequest(Query<?, ?> vaadinQuery) Creates a Spring DataPageRequestbased on the VaadinQueryobject.