public class PageRequestImpl extends Object implements PageRequest
PageRequest.StartingPoint| Constructor and Description |
|---|
PageRequestImpl(PageRequest.StartingPoint startingPoint,
int pageSize,
int offset,
Predicate predicate,
Comparator<Resource> comparator) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOffset()
Get the offset (zero based) of the resource that should be used as the start or end
of the page.
|
int |
getPageSize()
Get the desired page size.
|
Predicate |
getPredicate()
Return the predicate that identifies the single resource to be used
as the start or end of the page.
|
PageRequest.StartingPoint |
getStartingPoint()
Get the starting point for the page being requested.
|
public PageRequestImpl(PageRequest.StartingPoint startingPoint, int pageSize, int offset, Predicate predicate, Comparator<Resource> comparator)
public PageRequest.StartingPoint getStartingPoint()
PageRequestgetStartingPoint in interface PageRequestpublic int getPageSize()
PageRequestgetPageSize in interface PageRequestpublic int getOffset()
PageRequestgetOffset in interface PageRequestpublic Predicate getPredicate()
PageRequestgetPredicate in interface PageRequestCopyright © 2022 Apache Software Foundation. All rights reserved.