Closed
Description
Discussed spring-projects/spring-data-commons#2151 and implemented in spring-projects/spring-data-commons#2787 we can build on top and provide basic support for both imperative and reactive repositories.
The support will be available only on the repository level in the first iteration, think
import java.util.UUID;
import org.springframework.data.domain.ScrollPosition;
import org.springframework.data.domain.Sort;
import org.springframework.data.domain.Window;
import org.springframework.data.neo4j.repository.Neo4jRepository;
public interface ScrollingRepository extends Neo4jRepository<ScrollingEntity, UUID> {
Window<ScrollingEntity> findTop4By(Sort sort, ScrollPosition position);
}
and other derived finder methods that have a limit and a stable sort.
If requested, further support can be added to the templates, too.
Metadata
Metadata
Assignees
Labels
No labels