hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Trivial Update of "Hbase/Shell" by JeanDanielCryans
Date Mon, 21 Jul 2008 15:31:56 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by JeanDanielCryans:
http://wiki.apache.org/hadoop/Hbase/Shell

------------------------------------------------------------------------------
             hbase> get 't1', 'r1'
             hbase> get 't1', 'r1', {COLUMN => 'c1'}
             hbase> get 't1', 'r1', {COLUMN => ['c1', 'c2', 'c3']}
+            hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1}
-            hbase> get 't1', 'r1', {TIMESTAMP => ts1, VERSIONS => 4}
+            hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1, VERSIONS =
4}
  
   list      List all tables in hbase
  
@@ -76, +77 @@

             timestamp coordinates.  To put a cell value into table 't1' at
             row 'r1' under column 'c1' marked with the time 'ts1', do:
  
-            hbase> put 't1', 'r1', 'c1', ts1
+            hbase> put 't1', 'r1', 'c1', 'value', ts1
  
   scan      Scan a table; pass table name and optionally an array of column
             names OR an array of column names AND a dictionary of scanner 

Mime
View raw message