Interface PageRequest
-
- All Known Implementing Classes:
RestPageRequest
,SimplePageRequest
public interface PageRequest
Specifies the pagination requirements of a request.- See Also:
SimplePageRequest
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Cursor
getCursor()
int
getLimit()
int
getStart()
-
-
-
Method Detail
-
getStart
int getStart()
- Returns:
- zero-based start index for the page of results (first result is 0)
-
getLimit
int getLimit()
- Returns:
- the number of the results to return in the page
-
getCursor
default Cursor getCursor()
- Returns:
- the identifier which is used to skip results from a previous query when paginating
- Since:
- 7.18
-
-