
上QQ阅读APP看书,第一时间看更新
3.3.5 获取HBase中所有的表(list命令)
list命令用于获取HBase中存在的所有表。
语法:
list
范例:
hbase(main):001:0> list TABLE test2 test3 test3info1 test4 userinfo 5 row(s) Took 0.7242 seconds => ["test2", "test3", "test3info1", "test4", "userinfo"]
从上述信息可知,当前HBase中存在的所有表分别为test2、test3、test3info1、test4和userinfo。