client-java
client-java copied to clipboard
Implement reverseScan
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.