Class ScrollSubrange
java.lang.Object
org.springframework.graphql.data.pagination.Subrange<org.springframework.data.domain.ScrollPosition>
org.springframework.graphql.data.query.ScrollSubrange
Container for parameters that limit result elements to a subrange including a
relative
ScrollPosition
, number of elements, and direction.
For backward pagination, the offset of an OffsetScrollPosition
is adjusted to point to the first item in the range by subtracting the count
from it. Hence, for OffsetScrollPosition
Subrange.forward()
is
always true
.
- Since:
- 1.2
- Author:
- Rossen Stoyanchev
-
Constructor Details
-
ScrollSubrange
-