Example usage for Java org.springframework.data.domain PageRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
PageRequest(int page, int size, Sort sort) Creates a new PageRequest with sort parameters applied. |
long | getOffset() |
int | getPageNumber() |
int | getPageSize() |
Sort | getSort() |
PageRequest | of(int page, int size) Creates a new unsorted PageRequest . |
PageRequest | of(int page, int size, Direction direction, String... properties) Creates a new PageRequest with sort direction and properties applied. |
PageRequest | of(int page, int size, Sort sort) Creates a new PageRequest with sort parameters applied. |