首页 > 其他 > 详细

hbase简单操作

时间:2017-08-29 15:53:55      阅读:249      评论:0      收藏:0      [点我收藏+]

hbase shell ---进入hbase

list ---给出所有表

count "table_name" ---查看表的记录数

scan "table_name" --- 查询多条记录

scan "table_name",LIMIT=>1 --查询一条记录

truncate "table_name" 清空表的记录数 

 

hbase简单操作

原文:http://www.cnblogs.com/sy-liu/p/7448564.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!