-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeySet-based pagination #1299
Comments
Care to elaborate on what you're trying to achieve? The initial description isn't helpful. Feel free to post a bit of code to help illustrate how you're using the repository. |
The default paging implementation is select * from table limit 0,10. The higher the offset, the longer the query time I should do this: select * from table where id > 100 limit 20. this is a pointer based paging. But it depends on range query, but I see that reactivequerybyexampleexecutor does not support range query |
Thanks for the details. What you're referring to is known as key-set based pagination. It isn't tied to query by example so I updated the title to reflect that aspect. Before we can provide key-set pagination, we need to have some infrastructure in place so spring-projects/spring-data-commons#2151 is a pre-requisite. |
If the sample query supports range search, the paging based on ketset will be solved automatically. |
Since this metiones |
Closing as duplicate of #1605. Keyset-based pagination will come along with offset-based scrolling. |
ReactiveQueryByExampleExecutor when can range lookup be supported,Because my paging optimization may be id > 100 limit 20
The text was updated successfully, but these errors were encountered: