Uses of Class
org.springframework.data.domain.OffsetScrollPosition
Package
Description
Central domain abstractions especially to be used in combination with the
Repository
abstraction.-
Uses of OffsetScrollPosition in org.springframework.data.domain
Modifier and TypeMethodDescriptionstatic OffsetScrollPosition
OffsetScrollPosition.initial()
Creates a new initialOffsetScrollPosition
to start scrolling using offset/limit.static OffsetScrollPosition
OffsetScrollPosition.of
(long offset) Creates a newOffsetScrollPosition
from anoffset
.default OffsetScrollPosition
Pageable.toScrollPosition()
Returns anOffsetScrollPosition
from this pageable if the page requestis paged
.Modifier and TypeMethodDescriptionstatic IntFunction<OffsetScrollPosition>
OffsetScrollPosition.positionFunction
(long startOffset) Returns theposition function
to calculate.