Skip to content

Implement reverseScan#711

Open
jiaminglu wants to merge 1 commit intotikv:masterfrom
jiaminglu:master
Open

Implement reverseScan#711
jiaminglu wants to merge 1 commit intotikv:masterfrom
jiaminglu:master

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 <jiaming.lu@simplytyped.cn>
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