Row pagination with HBase

前端 未结 2 666
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-06 04:20

Is there a way to do pagination in HBase based on rowkeys?

I wanted to have the same effect as I do in SQL with SELECT * FROM table LIMIT 10 OFFSET 10.<

2条回答
  •  离开以前
    2021-01-06 05:13

    What about using the ColumnPaginationFilter?

    scan 't1', {FILTER => org.apache.hadoop.hbase.filter.ColumnPaginationFilter.new(, )}
    

提交回复
热议问题