Hbase/Hadoop Java API编程常用语句

 

从scanner获取rowkey:

for(Result rr : scanner)
{
   String key =Bytes.toString(rr.getRow())
}

HBase API - Result object

getRow() Method for retrieving the row key that corresponds to the row from which this Result was created.

 

 

 

 

 

posted on   sixiiweb  阅读(301)  评论(0编辑  收藏  举报

努力加载评论中...

导航

点击右上角即可分享
微信分享提示