Gaurav,
Thanks for the link. I tried few things which were mentioned there.
The idea is,
- I get the startKey, endKey and limit from
query.limit()
- then get Iterable<KeyValue> Range
- Start consuming keyValues
- Hit error → create new txn → get nextKey from where the error occured → go to Step 1.
- When consumed all, then
break
2 questions here:
- Is this idea okay?
- If yes, what would be the break condition here? How do I get that
Thanks!!