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()
PageRequest
getStartingPoint
in interface PageRequest
public int getPageSize()
PageRequest
getPageSize
in interface PageRequest
public int getOffset()
PageRequest
getOffset
in interface PageRequest
public Predicate getPredicate()
PageRequest
getPredicate
in interface PageRequest
Copyright © 2022 Apache Software Foundation. All rights reserved.