@StarSky
2017-01-18T03:40:10.000000Z
字数 274
阅读 753
Hbase
t: table
r: rowkey
f: family
c: column
ts: timestamp
Scan
hbase> scan 't1', {COLUMNS => ['c1', 'c2'], LIMIT => 10, STARTROW => 'xyz'}
Get
hbase> get 't1', 'r1', 'c1'
Delete
hbase> delete 't1', 'r1', 'c1', ts1
hbase> deleteall't1','r1',
Put
hbase> put 't1', 'r1', 'f1:c1', 'value'
Truncate
hbase>truncate't1'