Skip to content
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

Implement reverseScan #711

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Implement reverseScan #711

wants to merge 1 commit into from

Conversation

jiaminglu
Copy link
Contributor

I need a reverseScan so I implemented it.

This PR added scan methods with a boolean reverse argument, and also a seperate reverseScan method.

I exchanges the position of startKey and endKey before creating the iterator, because you did so in the rust client. I'm assuming startKey means strictly the lower bound and so does endKey.

Since there are no test cases for the behavior of scan in this repo, unit tests for reverseScan are also not written.

Signed-off-by: Jiaming Lu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant