pagination: Spring Data JPA Page vs Slice vs keyset Window scrolling, with the SQL and REST shapes

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4bLvQVbZweAqqf54x
This commit is contained in:
Claude
2026-11-16 11:13:56 +05:30
parent e3d1b550ae
commit 91938727f2
42 changed files with 1446 additions and 0 deletions
@@ -0,0 +1,4 @@
GET /products/scroll -> 10 items, nextCursor="MTA"
GET /products/scroll?after=MTA -> 10 items, nextCursor="MjA"
GET /products/scroll?after=MjA -> 5 items, nextCursor=null
calls: 3, items: 25, distinct: 25