HBASE-754 The JRuby shell documentation is wrong in "get" and "put"
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678235 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
296cb8ca75
commit
c04a282e7c
|
@ -298,6 +298,9 @@ Trunk (unreleased changes)
|
|||
HBASE-730 On startup, rinse STARTCODE and SERVER from .META.
|
||||
(Jean-Daniel Cryans via Stack)
|
||||
HBASE-738 overview.html in need of updating (Izaak Rubin via Stack)
|
||||
HBASE-720 clean up inconsistencies around deletes (Izaak Rubin via Stack)
|
||||
HBASE-754 The JRuby shell documentation is wrong in "get" and "put"
|
||||
(Jean-Daniel Cryans via Stack)
|
||||
|
||||
NEW FEATURES
|
||||
HBASE-47 Option to set TTL for columns in hbase
|
||||
|
|
|
@ -156,15 +156,16 @@ HBASE SHELL COMMANDS:
|
|||
hbase> get 't1', 'r1'
|
||||
hbase> get 't1', 'r1', {COLUMN => 'c1'}
|
||||
hbase> get 't1', 'r1', {COLUMN => ['c1', 'c2', 'c3']}
|
||||
hbase> get 't1', 'r1', {TIMESTAMP => ts1, VERSIONS => 4}
|
||||
hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1}
|
||||
hbase> get 't1', 'r1', {COLUMN => 'c1', TIMESTAMP => ts1, VERSIONS = 4}
|
||||
|
||||
list List all tables in hbase
|
||||
|
||||
put Put a cell value at specified table/row/column and optionally
|
||||
put Put a cell 'value' at specified table/row/column and optionally
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue