{"repo":"davidepedone/spring-cursor-pagination","free":true,"listed":false,"github":"https://github.com/davidepedone/spring-cursor-pagination","clone":"git clone https://github.com/davidepedone/spring-cursor-pagination.git","description":"Add cursor pagination feature to spring-boot projects","language":"Java","stars":10,"topics":["spring-boot","mongodb","cursor-pagination","spring-cursor-pagination"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"Spring Cursor Pagination ========== Introduction The spring-cursor-pagination Java library allows to easily implement cursor pagination for Spring Boot projects. This is a community-based project, not maintained by the Spring Framework Contributors (Pivotal) Getting Started Spring-cursor-pagination is currently available only for mongodb. NEVER sort by fields that may contain null values to prevent unexpected results. First add the library to the list of your project dependencies. Optionally define a POJO class to map request filter Define a service class that extends CursorPaginationService in order to indicate entity class, a list of sortable field and customize query against database (filter and authz checks) Update or create controller method and that's it Customization To change query string parameter names just define a CursorPageableHandlerMethodArgumentResolverCustomizer bean: Demo Project Check out a simple demo project here Maven Central The spring-cursor-pagination libraries are hosted on maven central repository. The artifacts can be accessed at the following locations: Releases: https://oss.sonatype.org/content/groups/public/it/davidepedone/. Snapshots: https://central.sonatype.org/content/repositories/snapshots/it/davidepedone/.","default_branch":null,"files":null,"tree":[],"storefront":"/r/davidepedone","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/davidepedone/spring-cursor-pagination/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}