eclipse / jnosql

Eclipse JNoSQL is a framework which has the goal to help Java developers to create Jakarta EE applications with NoSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support to PageCursor

FlavioSantoro92 opened this issue · comments

Hi.
Some other nosql database uses a cursor instead of an offset for the pagination.
Could you add in the interface of the driver a method could accept a generic Object in order to achieve this in new drivers?

Hello Flavio, how are you?
By default, the result returns a Stream it is because it is lazy as a cursor. If you're using MongoDB the Stream fits you once both are lazy.