Package | Description |
---|---|
org.springframework.data.domain |
Central domain abstractions especially to be used in combination with the
Repository abstraction. |
Modifier and Type | Method and Description |
---|---|
PageRequest |
PageRequest.first() |
PageRequest |
PageRequest.next() |
static PageRequest |
PageRequest.of(int page,
int size)
Creates a new unsorted
PageRequest . |
static PageRequest |
PageRequest.of(int page,
int size,
Sort.Direction direction,
String... properties)
Creates a new
PageRequest with sort direction and properties applied. |
static PageRequest |
PageRequest.of(int page,
int size,
Sort sort)
Creates a new
PageRequest with sort parameters applied. |
static PageRequest |
PageRequest.ofSize(int pageSize)
|
PageRequest |
PageRequest.previous() |
PageRequest |
PageRequest.withPage(int pageNumber)
Creates a new
PageRequest with pageNumber applied. |
PageRequest |
PageRequest.withSort(Sort.Direction direction,
String... properties)
|
PageRequest |
PageRequest.withSort(Sort sort)
Creates a new
PageRequest with Sort applied. |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.