Uses of Class
com.vaadin.flow.data.provider.Query
-
Packages that use Query Package Description com.vaadin.flow.data.provider com.vaadin.flow.data.provider.hierarchy -
-
Uses of Query in com.vaadin.flow.data.provider
Methods in com.vaadin.flow.data.provider that return Query Modifier and Type Method Description Query
DataCommunicator. buildQuery(int offset, int limit)
Generate a data query with component sorting and filtering.static Query
DataViewUtils. getQuery(Component component)
Generates a data query with component's in-memory filter and sort comparator.static Query
DataViewUtils. getQuery(Component component, boolean withSorting)
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 Query Modifier and Type Method Description static <T,C,F>
FFilterUtils. convertFilter(SerializableFunction<C,F> filterConverter, Query<T,C> query)
Gets the filter converted from a query filter by thefilterConverter
.int
CallbackDataProvider.CountCallback. count(Query<T,F> query)
Counts the number of available items based on a query.Stream<T>
AbstractBackEndDataProvider. fetch(Query<T,F> query)
Stream<T>
CallbackDataProvider.FetchCallback. fetch(Query<T,F> query)
Fetches a stream of items based on a query.Stream<T>
DataProvider. fetch(Query<T,F> query)
Fetches data from this DataProvider using givenquery
.Stream<T>
DataProviderWrapper. fetch(Query<T,F> t)
Stream<T>
ListDataProvider. fetch(Query<T,SerializablePredicate<T>> query)
protected abstract Stream<T>
AbstractBackEndDataProvider. fetchFromBackEnd(Query<T,F> query)
Fetches data from the back end using the given query.Stream<T>
CallbackDataProvider. fetchFromBackEnd(Query<T,F> query)
protected F
ConfigurableFilterDataProviderWrapper. getFilter(Query<T,Q> query)
protected abstract M
DataProviderWrapper. getFilter(Query<T,F> query)
Gets the filter that should be used in the modified Query.int
AbstractBackEndDataProvider. size(Query<T,F> query)
int
DataProvider. size(Query<T,F> query)
Gets the amount of data in this DataProvider.int
DataProviderWrapper. size(Query<T,F> t)
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.hierarchy Modifier and Type Class Description class
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 Query Modifier and Type Method Description default Stream<T>
HierarchicalDataProvider. fetch(Query<T,F> query)
Fetches data from this HierarchicalDataProvider using givenquery
.default int
HierarchicalDataProvider. size(Query<T,F> query)
Get the number of immediate child data items for the parent item returned by a given query.
-