Skip to content

Commit 09ba413

Browse files
committed
Refine Scrolling refdocs.
Closes #3192
1 parent 9ed3a45 commit 09ba413

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc

+8
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ Query execution treats the position parameter _exclusive_, results will start _a
3030
`ScrollPosition#offset()` and `ScrollPosition#keyset()` as special incarnations of a `ScrollPosition` indicating the start of a scroll operation.
3131
====
3232

33+
[NOTE]
34+
====
35+
The above example shows static sorting and limiting.
36+
You can define query methods alternatively that accept a `Sort` object define a more complex sorting order or sorting on a per-request basis.
37+
In a similar way, providing a `Limit` object allows you to define a dynamic limit on a per-request basis instead of applying a static limitation.
38+
Read more on dynamic sorting and limiting in the xref:repositories/query-methods-details.adoc#repositories.special-parameters[Query Methods Details].
39+
====
40+
3341
`WindowIterator` provides a utility to simplify scrolling across ``Window``s by removing the need to check for the presence of a next `Window` and applying the `ScrollPosition`.
3442

3543
[source,java]

0 commit comments

Comments
 (0)