Interface PageRequest
-
- All Known Implementing Classes:
RestPageRequest,SimplePageRequest
@ExperimentalApi public interface PageRequestSpecifies 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 CursorgetCursor()intgetLimit()intgetStart()
-
-
-
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
-
-