AbstractDynamoDBQueryCriteria
, DynamoDBEntityWithHashAndRangeKeyCriteria
, DynamoDBEntityWithHashKeyOnlyCriteria
, SimpleDynamoDBCrudRepository
, SimpleDynamoDBPagingAndSortingRepository
public interface SortHandler
Sort
.Modifier and Type | Method | Description |
---|---|---|
default void |
ensureNoSort(org.springframework.data.domain.Pageable pageable) |
|
default void |
ensureNoSort(org.springframework.data.domain.Sort sort) |
|
default <T> T |
throwUnsupportedSortOperationException() |
default void ensureNoSort(org.springframework.data.domain.Pageable pageable)
pageable
- The Pageable
to check that no sort is specifieddefault void ensureNoSort(org.springframework.data.domain.Sort sort) throws UnsupportedOperationException
sort
- The Sort
to check that no sort is specifiedUnsupportedOperationException
- if a sort
is initialized (non-null && not
Sort.unsorted()
default <T> T throwUnsupportedSortOperationException()
Copyright © 2018. All rights reserved.