public class ChunkRequest<T> extends Object implements org.springframework.data.domain.Pageable
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Pageable |
first() |
long |
getOffset() |
int |
getPageNumber() |
int |
getPageSize() |
org.springframework.data.domain.Sort |
getSort() |
boolean |
hasPrevious() |
org.springframework.data.domain.Pageable |
next() |
static <T,F> ChunkRequest<T> |
of(com.vaadin.flow.data.provider.Query<T,F> q,
List<com.vaadin.flow.data.provider.QuerySortOrder> defaultSort) |
org.springframework.data.domain.Pageable |
previousOrFirst() |
public static <T,F> ChunkRequest<T> of(com.vaadin.flow.data.provider.Query<T,F> q, List<com.vaadin.flow.data.provider.QuerySortOrder> defaultSort)
public int getPageNumber()
getPageNumber in interface org.springframework.data.domain.Pageablepublic int getPageSize()
getPageSize in interface org.springframework.data.domain.Pageablepublic long getOffset()
getOffset in interface org.springframework.data.domain.Pageablepublic org.springframework.data.domain.Sort getSort()
getSort in interface org.springframework.data.domain.Pageablepublic org.springframework.data.domain.Pageable next()
next in interface org.springframework.data.domain.Pageablepublic org.springframework.data.domain.Pageable previousOrFirst()
previousOrFirst in interface org.springframework.data.domain.Pageablepublic org.springframework.data.domain.Pageable first()
first in interface org.springframework.data.domain.Pageablepublic boolean hasPrevious()
hasPrevious in interface org.springframework.data.domain.PageableCopyright © 2021. All rights reserved.