You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2008/10/28 21:53:15 UTC
[Hadoop Wiki] Update of "Hbase/HbaseRest" by pirroh
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 pirroh:
http://wiki.apache.org/hadoop/Hbase/HbaseRest
------------------------------------------------------------------------------
multipart response. The client must be prepared to parse the
column values out of the data.
- Options:
+ Parameters:
+ column: specify one or more column parameters (&-separated) to get the content of specific cells. If omitted, the result will contain all columns in the row.
- columns: A semicolon-delimited list of column names. If omitted, the result will contain all columns in the row.
-
- ~-''St.Ack comment 11/17/2007: Only one column allowed in hbase currently.-~
'''POST/PUT /[table_name]/row/[row_key]/'''
@@ -167, +165 @@
Multipart/related: The client is sending multiple columns of data encoded with boundaries.
+ Parameters:
+ column: specify one or more column parameters (&-separated) to get the content of specific cells. If omitted, the result will contain all columns in the row..
- Options:
-
- columns: A semicolon-delimited list of column names. This attribute is ignored when the Content-type is application/xml.
Returns:
HTTP 200 (OK) if the column(s) could successfully be saved. HTTP 415 (Unsupported Media Type) if
@@ -183, +180 @@
Delete the specified columns from the row. If there are no columns specified, then it will delete ALL columns. Optionally, specify a timestamp.
+ Parameters:
+ Column: specify one or more column parameters (&-separated) to get the content of specific cells. If omitted, the result will contain all columns in the row.
- Options:
-
- columns: A semicolon-delimited list of column names. If omitted, the result will delete all columns in the row.
Returns:
HTTP 202 (Accepted) if the column(s) were deleted.
@@ -196, +192 @@
'''POST/PUT /[table_name]/scanner'''
Request that a scanner be created with the specified options. Returns a scanner ID that can be used to iterate over the results of the scanner.
+ Parameters:
+ column: specify one or more column parameters (&-separated) to get the content of specific cells. If omitted, the result will contain all columns in the row.
- Options:
-
- columns: A semicolon-delimited list of column names. If omitted, each result will contain all columns in the row.
start_row, end_row: Starting and ending keys that enclose the region that should be scanned.