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 |
---|---|
abstract Pageable |
AbstractPageRequest.first() |
Pageable |
Pageable.first()
Returns the
Pageable requesting the first page. |
Pageable |
PageRequest.first() |
abstract Pageable |
AbstractPageRequest.next() |
Pageable |
Pageable.next()
|
Pageable |
PageRequest.next() |
Pageable |
Slice.nextPageable()
|
abstract Pageable |
AbstractPageRequest.previous()
|
Pageable |
AbstractPageRequest.previousOrFirst() |
Pageable |
Pageable.previousOrFirst()
|
Pageable |
Slice.previousPageable()
|
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) |
Object |
QuerydslRepositoryInvokerAdapter.invokeQueryMethod(Method method,
Map<String,String[]> parameters,
Pageable pageable,
Sort sort) |
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)
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,
PageableExecutionUtils.TotalSupplier totalSupplier)
Constructs a
Page based on the given content , Pageable and PageableExecutionUtils.TotalSupplier applying
optimizations. |
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() . |
Object |
RepositoryInvoker.invokeQueryMethod(Method method,
Map<String,String[]> parameters,
Pageable pageable,
Sort sort)
Deprecated.
|
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
PageableDefault (the latter only supported in legacy mode) can be found at the method parameter to be
resolved. |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.