Package | Description |
---|---|
org.springframework.data.domain |
Central domain abstractions especially to be used in combination with the
Repository abstraction. |
org.springframework.data.domain.jaxb |
Central domain abstractions especially to be used in combination with the
Repository abstraction. |
org.springframework.data.querydsl |
Querydsl integration support classes.
|
org.springframework.data.repository |
Central interfaces for repository abstraction.
|
org.springframework.data.repository.query |
Support classes to work with query methods.
|
org.springframework.data.repository.query.parser |
Support classes for parsing queries from method names.
|
org.springframework.data.web |
Integration with Spring MVC.
|
Modifier and Type | Method and Description |
---|---|
Sort |
Sort.and(Sort sort)
|
Sort |
PageRequest.getSort() |
Sort |
PageImpl.getSort() |
Sort |
Pageable.getSort()
Returns the sorting parameters.
|
Sort |
Page.getSort()
Returns the sorting parameters for the page.
|
Sort |
Sort.Order.withProperties(String... properties)
Returns a new
Sort instance for the given properties. |
Modifier and Type | Method and Description |
---|---|
Sort |
Sort.and(Sort sort)
|
Constructor and Description |
---|
PageRequest(int page,
int size,
Sort sort)
Creates a new
PageRequest with sort parameters applied. |
Modifier and Type | Method and Description |
---|---|
Sort |
SortAdapter.unmarshal(SpringDataJaxb.SortDto source) |
Modifier and Type | Method and Description |
---|---|
SpringDataJaxb.SortDto |
SortAdapter.marshal(Sort source) |
Modifier and Type | Class and Description |
---|---|
class |
QSort
Sort option for queries that wraps a querydsl
OrderSpecifier . |
Modifier and Type | Method and Description |
---|---|
Iterable<T> |
PagingAndSortingRepository.findAll(Sort sort)
Returns all entities sorted by the given options.
|
Modifier and Type | Method and Description |
---|---|
Sort |
ParametersParameterAccessor.getSort() |
Sort |
ParameterAccessor.getSort()
Returns the sort instance to be used for query creation.
|
Modifier and Type | Method and Description |
---|---|
Sort |
PartTree.getSort()
Returns the
Sort specification parsed from the source or null. |
Sort |
OrderBySource.toSort()
Returns the clause as
Sort . |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
AbstractQueryCreator.complete(S criteria,
Sort sort)
Actually creates the query object applying the given criteria object and
Sort definition. |
T |
AbstractQueryCreator.createQuery(Sort dynamicSort)
Creates the actual query object applying the given
Sort parameter. |
Modifier and Type | Method and Description |
---|---|
Sort |
SortHandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter,
ModelAndViewContainer mavContainer,
NativeWebRequest webRequest,
WebDataBinderFactory binderFactory) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
SortHandlerMethodArgumentResolver.foldIntoExpressions(Sort sort)
Folds the given
Sort instance into a List of sort expressions, accumulating Sort.Order instances
of the same direction into a single expression if they are in order. |
protected List<String> |
SortHandlerMethodArgumentResolver.legacyFoldExpressions(Sort sort)
Folds the given
Sort instance into two expressions. |
void |
SortHandlerMethodArgumentResolver.setFallbackSort(Sort fallbackSort)
Configures the
Sort to be used as fallback in case no SortDefault or SortDefault.SortDefaults (the
latter only supported in legacy mode) can be found at the method parameter to be resolved. |
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.