I am working on hbase table pagination. functionality i need to implement is, UI pagination table should have next/forward and back/backward feature.
Forward option i implemented using PageFilter but for backward, i need to get the rows(20) from end key to most recent and going backward. eg. backward get all records 1000 - 980.
I couldn't find anything in hbase source that would suffice my requirement. any idea how we can implement it???
PS: my row key is a composite key of multiple fields and data size in TB.
In hbase .98, there is a new option for reverse scan with a so simple code
scan.setReversed(true);