hbase和aerospike基础概念及所对应的python包API使用
墨初 知识笔记 118阅读
Hbase Hbase shell常用操作 1.创建表
2.查看所有表名称
create table name,column family
table name表名
column family:列族名

list
3.插入操作 put table name,row1,column family:column name,value
row1:行键(即Row Key)
column family:column name列族名和列名

value插入列的值
4.查看表结构操作describe table name或desc table name
5.更新操作 put table name,row,column family:column name:new value
6.获取指定字段的操作 //查看指定行的数据get table name,row1
aerospike aerospike常用操作 1.显示所有命名空间 show namespaces
2.显示所有表集合 show sets
3.显示所有列字段 show bins
4.查询信息 select * from 命名空间[.表名 where PK主键名]
标签: