Package | Description |
---|---|
org.springframework.data.domain |
Central domain abstractions especially to be used in combination with the
Repository abstraction. |
org.springframework.data.geo |
Value types representing geo-spatial concepts.
|
org.springframework.data.querydsl |
Querydsl integration support classes.
|
org.springframework.data.repository |
Central interfaces for repository abstraction.
|
org.springframework.data.repository.history |
API for repositories using historiography.
|
org.springframework.data.repository.query |
Support classes to work with query methods.
|
org.springframework.data.repository.support |
Support classes for integration of the repository programming model with 3rd party frameworks.
|
org.springframework.data.support |
Core support classes.
|
org.springframework.data.web |
Integration with Spring MVC.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPageRequest
Abstract Java Bean implementation of
Pageable . |
class |
PageRequest
Basic Java Bean implementation of
Pageable . |
Modifier and Type | Method and Description |
---|---|
Pageable |
Pageable.first()
Returns the
Pageable requesting the first page. |
abstract Pageable |
AbstractPageRequest.first() |
default Pageable |
Slice.getPageable()
|
Pageable |
Pageable.next()
|
abstract Pageable |
AbstractPageRequest.next() |
default Pageable |
Slice.nextOrLastPageable()
Returns the
Pageable describing the next slice or the one describing the current slice in case it's the
last one. |
Pageable |
Slice.nextPageable()
|
static Pageable |
Pageable.ofSize(int pageSize)
|
abstract Pageable |
AbstractPageRequest.previous()
|
Pageable |
Pageable.previousOrFirst()
|
Pageable |
AbstractPageRequest.previousOrFirst() |
default Pageable |
Slice.previousOrFirstPageable()
Returns the
Pageable describing the previous slice or the one describing the current slice in case it's the
first one. |
Pageable |
Slice.previousPageable()
|
static Pageable |
Pageable.unpaged()
Returns a
Pageable instance representing no pagination setup. |
Pageable |
Pageable.withPage(int pageNumber)
Creates a new
Pageable with pageNumber applied. |
Modifier and Type | Method and Description |
---|---|
default Optional<Pageable> |
Pageable.toOptional()
Returns an
Optional so that it can easily be mapped on. |
Modifier and Type | Method and Description |
---|---|
static <T> Page<T> |
Page.empty(Pageable pageable)
|
Constructor and Description |
---|
PageImpl(List<T> content,
Pageable pageable,
long total)
Constructor of
PageImpl . |
SliceImpl(List<T> content,
Pageable pageable,
boolean hasNext)
|
Constructor and Description |
---|
GeoPage(GeoResults<T> results,
Pageable pageable,
long total)
|
Modifier and Type | Class and Description |
---|---|
class |
QPageRequest
Basic Java Bean implementation of
Pageable with support for QueryDSL. |
Modifier and Type | Method and Description |
---|---|
Pageable |
QPageRequest.first() |
Pageable |
QPageRequest.next() |
Pageable |
QPageRequest.previous() |
Modifier and Type | Method and Description |
---|---|
Page<T> |
QuerydslPredicateExecutor.findAll(com.querydsl.core.types.Predicate predicate,
Pageable pageable)
Returns a
Page of entities matching the given Predicate . |
Iterable<Object> |
QuerydslRepositoryInvokerAdapter.invokeFindAll(Pageable pageable) |
Optional<Object> |
QuerydslRepositoryInvokerAdapter.invokeQueryMethod(Method method,
MultiValueMap<String,? extends Object> parameters,
Pageable pageable,
Sort sort) |
Modifier and Type | Method and Description |
---|---|
Page<T> |
PagingAndSortingRepository.findAll(Pageable pageable)
|
Modifier and Type | Method and Description |
---|---|
Page<Revision<N,T>> |
RevisionRepository.findRevisions(ID id,
Pageable pageable)
Returns a
Page of revisions for the entity with the given id. |
Modifier and Type | Method and Description |
---|---|
Pageable |
ParametersParameterAccessor.getPageable() |
Pageable |
ParameterAccessor.getPageable()
Returns the
Pageable of the parameters, if available. |
Modifier and Type | Method and Description |
---|---|
<S extends T> |
QueryByExampleExecutor.findAll(Example<S> example,
Pageable pageable)
|
Page<T> |
FluentQuery.FetchableFluentQuery.page(Pageable pageable)
Get a page of matching elements for
Pageable . |
reactor.core.publisher.Mono<Page<T>> |
FluentQuery.ReactiveFluentQuery.page(Pageable pageable)
Get a page of matching elements for
Pageable . |
Modifier and Type | Method and Description |
---|---|
static <T> Page<T> |
PageableExecutionUtils.getPage(List<T> content,
Pageable pageable,
LongSupplier totalSupplier)
Deprecated.
|
Iterable<Object> |
RepositoryInvoker.invokeFindAll(Pageable pageable)
Invokes the find-all method of the underlying repository using the method taking a
Pageable as parameter if
available (i.e. the equivalent to
PagingAndSortingRepository.findAll(Pageable) ), using the method taking
a Sort if available (i.e. the equivalent to
PagingAndSortingRepository.findAll(Sort) by extracting the Sort
contained in the given Pageable ) or the plain equivalent to
CrudRepository.findAll() . |
Optional<Object> |
RepositoryInvoker.invokeQueryMethod(Method method,
MultiValueMap<String,? extends Object> parameters,
Pageable pageable,
Sort sort)
|
Modifier and Type | Method and Description |
---|---|
static <T> Page<T> |
PageableExecutionUtils.getPage(List<T> content,
Pageable pageable,
LongSupplier totalSupplier)
|
Modifier and Type | Method and Description |
---|---|
protected Pageable |
PageableHandlerMethodArgumentResolverSupport.getPageable(MethodParameter methodParameter,
String pageString,
String pageSizeString) |
Pageable |
PageableArgumentResolver.resolveArgument(MethodParameter parameter,
ModelAndViewContainer mavContainer,
NativeWebRequest webRequest,
WebDataBinderFactory binderFactory)
Resolves a
Pageable method parameter into an argument value from a given request. |
Pageable |
PageableHandlerMethodArgumentResolver.resolveArgument(MethodParameter methodParameter,
ModelAndViewContainer mavContainer,
NativeWebRequest webRequest,
WebDataBinderFactory binderFactory) |
Pageable |
ReactivePageableHandlerMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter,
BindingContext bindingContext,
ServerWebExchange exchange) |
Modifier and Type | Method and Description |
---|---|
boolean |
PageableHandlerMethodArgumentResolverSupport.isFallbackPageable(Pageable pageable)
Returns whether the given
Pageable is the fallback one. |
void |
PageableHandlerMethodArgumentResolverSupport.setFallbackPageable(Pageable fallbackPageable)
Configures the
Pageable to be used as fallback in case no PageableDefault can be found at the
method parameter to be resolved. |
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.