public slice(request as PageRequest) as Slice<T>:
Materializes one page window without executing an exact count.
One extra row is requested to determine hasNext.
| Parameter | Description |
|---|---|
request | Zero-based paging request. |
Slice rows and adjacent-page indicators.
slice = query.slice(PageRequest(0, 25))