Uses of Interface
org.springframework.data.domain.Pageable
Package
Description
Central domain abstractions especially to be used in combination with the
Repository
abstraction.Value types representing geo-spatial concepts.
Querydsl integration support classes.
Central interfaces for repository abstraction.
API for repositories using historiography.
Support classes to work with query methods.
Support classes for integration of the repository programming model with 3rd party frameworks.
Core support classes.
Integration with Spring MVC.
-
Uses of Pageable in org.springframework.data.domain
Modifier and TypeClassDescriptionclass
Abstract Java Bean implementation ofPageable
.class
Basic Java Bean implementation ofPageable
.Modifier and TypeMethodDescriptionabstract Pageable
AbstractPageRequest.first()
Pageable.first()
Returns thePageable
requesting the first page.default Pageable
Slice.getPageable()
abstract Pageable
AbstractPageRequest.next()
Pageable.next()
default Pageable
Slice.nextOrLastPageable()
Returns thePageable
describing the next slice or the one describing the current slice in case it's the last one.Slice.nextPageable()
static Pageable
Pageable.ofSize
(int pageSize) abstract Pageable
AbstractPageRequest.previous()
AbstractPageRequest.previousOrFirst()
Pageable.previousOrFirst()
default Pageable
Slice.previousOrFirstPageable()
Returns thePageable
describing the previous slice or the one describing the current slice in case it's the first one.Slice.previousPageable()
static Pageable
Pageable.unpaged()
Returns aPageable
instance representing no pagination setup.static Pageable
Pageable.withPage
(int pageNumber) Creates a newPageable
withpageNumber
applied.Modifier and TypeMethodDescriptionPageable.toOptional()
Returns anOptional
so that it can easily be mapped on. -
Uses of Pageable in org.springframework.data.geo
-
Uses of Pageable in org.springframework.data.querydsl
Modifier and TypeClassDescriptionclass
Basic Java Bean implementation ofPageable
with support for QueryDSL.Modifier and TypeMethodDescriptionQPageRequest.first()
QPageRequest.next()
QPageRequest.previous()
Modifier and TypeMethodDescriptionReturns aPage
of entities matching the givenPredicate
.QuerydslRepositoryInvokerAdapter.invokeFindAll
(Pageable pageable) QuerydslRepositoryInvokerAdapter.invokeQueryMethod
(Method method, MultiValueMap<String, ? extends Object> parameters, Pageable pageable, Sort sort) -
Uses of Pageable in org.springframework.data.repository
-
Uses of Pageable in org.springframework.data.repository.history
-
Uses of Pageable in org.springframework.data.repository.query
Modifier and TypeMethodDescriptionParameterAccessor.getPageable()
Returns thePageable
of the parameters, if available.ParametersParameterAccessor.getPageable()
-
Uses of Pageable in org.springframework.data.repository.support
Modifier and TypeMethodDescriptionRepositoryInvoker.invokeFindAll
(Pageable pageable) Invokes the find-all method of the underlying repository using the method taking aPageable
as parameter if available (i.e. the equivalent toPagingAndSortingRepository.findAll(Pageable)
), using the method taking aSort
if available (i.e. the equivalent toPagingAndSortingRepository.findAll(Sort)
by extracting theSort
contained in the givenPageable
) or the plain equivalent toCrudRepository.findAll()
.RepositoryInvoker.invokeQueryMethod
(Method method, MultiValueMap<String, ? extends Object> parameters, Pageable pageable, Sort sort) -
Uses of Pageable in org.springframework.data.support
Modifier and TypeMethodDescriptionstatic <T> Page<T>
PageableExecutionUtils.getPage
(List<T> content, Pageable pageable, LongSupplier totalSupplier) -
Uses of Pageable in org.springframework.data.web
Modifier and TypeMethodDescriptionprotected Pageable
PageableHandlerMethodArgumentResolverSupport.getPageable
(MethodParameter methodParameter, String pageString, String pageSizeString) PageableArgumentResolver.resolveArgument
(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) Resolves aPageable
method parameter into an argument value from a given request.PageableHandlerMethodArgumentResolver.resolveArgument
(MethodParameter methodParameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) ReactivePageableHandlerMethodArgumentResolver.resolveArgumentValue
(MethodParameter parameter, BindingContext bindingContext, ServerWebExchange exchange) Modifier and TypeMethodDescriptionboolean
PageableHandlerMethodArgumentResolverSupport.isFallbackPageable
(Pageable pageable) Returns whether the givenPageable
is the fallback one.void
PageableHandlerMethodArgumentResolverSupport.setFallbackPageable
(Pageable fallbackPageable) Configures thePageable
to be used as fallback in case noPageableDefault
can be found at the method parameter to be resolved.