Changes between Version 3 and Version 4 of NCHCCloudCourse100929_2_USE
- Timestamp:
- Sep 29, 2010, 11:47:21 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NCHCCloudCourse100929_2_USE
v3 v4 20 20 21 21 {{{ 22 hbase(main):> create ‘t1’22 hbase(main):> create 't1' 23 23 }}} 24 24 25 B . 增加一個擁有 ’f1’,’f2’,’fn’為 column family 的表: t225 B . 增加一個擁有 'f1','f2','fn' 為 column family 的表: t2 26 26 27 27 {{{ 28 hbase(main):> create ‘t2’,’f1’,’f2’,’fn’28 hbase(main):> create 't2','f1','f2','fn' 29 29 }}} 30 30 … … 40 40 41 41 {{{ 42 hbase(main):> deleteall ‘t1’,’r1’42 hbase(main):> deleteall 't1','r1' 43 43 }}} 44 44 … … 65 65 66 66 {{{ 67 get ‘t1’, ‘r1’, {column => ‘f1:c1’}67 get 't1', ‘r1', {column => ‘f1:c1'} 68 68 }}} 69 69 … … 71 71 72 72 {{{ 73 hbase(main):> disable ‘t1’73 hbase(main):> disable 't1' 74 74 hbase(main):> alter 't1', {NAME => 'f1'} 75 hbase(main):> enable ‘t1’75 hbase(main):> enable 't1' 76 76 }}} 77 77 … … 91 91 92 92 {{{ 93 hbase(main):> truncate ‘t1’94 hbase(main):> disable ‘t1’95 hbase(main):> drop ‘t1’93 hbase(main):> truncate 't1' 94 hbase(main):> disable 't1' 95 hbase(main):> drop 't1' 96 96 }}}