How to achieve pagination in HBase?

谁都会走 提交于 2019-12-01 07:52:26

问题


I am new to Hbase and I need to implement pagination using Java with Jersey and Hbase as my database. I need some help, how can I achieve pagination with Hbase as data will be distributed among various regions. I want to show 1000 records per page.

Please let me know how to achieve this without using any filter. It will be really thankful.


回答1:


You can do so by using the PageFilter present in habse filter. This will help you to get the paginated Rows from Hbase. There is a good article for pagination that you can refer to perform so. http://www.techsquids.com/bd/pagination-with-hbase/



来源:https://stackoverflow.com/questions/38644997/how-to-achieve-pagination-in-hbase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!