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.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 |
PageRequest.first() |
Pageable |
Pageable.first()
Returns the
Pageable requesting the first page. |
abstract Pageable |
AbstractPageRequest.first() |
Pageable |
PageRequest.next() |
Pageable |
Pageable.next()
|
abstract Pageable |
AbstractPageRequest.next() |
Pageable |
Slice.nextPageable()
|
abstract Pageable |
AbstractPageRequest.previous()
|
Pageable |
Pageable.previousOrFirst()
|
Pageable |
AbstractPageRequest.previousOrFirst() |
Pageable |
Slice.previousPageable()
|
static Pageable |
Pageable.unpaged()
Returns a
Pageable instance representing no pagination setup. |
Modifier and Type | Method and Description |
---|---|
default Optional<Pageable> |
Pageable.toOptional()
Returns an
Optional so that it can easily be mapped on. |
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 |
---|---|
<S extends Sort> |
PagingAndSortingRepository.findAll(Pageable pageable)
Returns a
Page of entities meeting the paging restriction provided in the Pageable object. |
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)
|
Modifier and Type | Method and Description |
---|---|
static <T> Page<T> |
PageableExecutionUtils.getPage(List<T> content,
Pageable pageable,
LongSupplier totalSupplier)
|
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 |
---|---|
Pageable |
PageableHandlerMethodArgumentResolver.resolveArgument(MethodParameter methodParameter,
ModelAndViewContainer mavContainer,
NativeWebRequest webRequest,
WebDataBinderFactory binderFactory) |
Pageable |
PageableArgumentResolver.resolveArgument(MethodParameter parameter,
ModelAndViewContainer mavContainer,
NativeWebRequest webRequest,
WebDataBinderFactory binderFactory)
Resolves a
Pageable method parameter into an argument value from a given request. |
Modifier and Type | Method and Description |
---|---|
boolean |
PageableHandlerMethodArgumentResolver.isFallbackPageable(Pageable pageable)
Returns whether the given
Pageable is the fallback one. |
void |
PageableHandlerMethodArgumentResolver.setFallbackPageable(Pageable fallbackPageable)
Configures the
Pageable to be used as fallback in case no PageableDefault or
PageableDefaults (the latter only supported in legacy mode) can be found at the method parameter to be
resolved. |
Copyright © 2011-2016–2017 Pivotal Software, Inc.. All rights reserved.