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 Michael Gottesman:
http://wiki.apache.org/hadoop/Hbase/JSONRest

------------------------------------------------------------------------------
- == Preface ==
+ = Preface =
- === What is JSON Rest? ===
+ == What is JSON Rest? ==
  JSON Rest is at its core a Jetty Http Java Servlet that gives end users 
complete access to the HBase Client API through a combination of URLs, JSON, 
and Query Strings. It supports Filters, Scanners, and Transactions 
(Transactions are available with the correct patches), something which no other 
HBase client framework does at the moment. But most importantly to my 
altruistic side, it is a very modular framework so that it is easy for any end 
user to modify it to his/her needs. This was a fun project for me. I hope it is 
useful to you.
- === Why JSON? ===
+ == Why JSON? ==
  This is a question that I get asked a lot. Why JSON? Why not Thrift? Why not 
Protocol Buffers? The answer I give is simple: The Internet. JSON is native to 
the web and native to the browser. By using JSON as your message format, you 
allow for easy interoperability with any/all platforms currently in the 
marketplace. Thus you maximize your potential user base through familiarity, 
ease of use, and parser availability for the end user.
  ----
- == Usage ==
+ = Usage =
- === Get ===
+ == Get ==
- ==== Database ====
+ === Database ===
- The current supported Database GET queries are:
+ The currently supported Database GET use cases are:
+  * Get Database Metadata
+ ==== UseCase: Get Database Metadata ====
-  * getDatabaseMetadata - returns the master's connection status and a list of 
all database tables and their columns. To call this query send a simple get 
request to:
+ This query returns the master's connection status and a list of all database 
tables and their columns. To call this query send a simple get request to:
  {{{
  '/'
  }}}
@@ -34, +36 @@

            }
  }}}
  
- ==== Table ====
+ === Table ===
- ==== Row ====
- ==== Cell ====
- ==== Timestamp ====
- === Post ===
- === Put ===
- === Delete ===
- === Transactions ===
- === Scanners ===
+ The currently supported Table GET use cases are:
+  * Get All Rows from Table with all Columns.
+  * Get All Rows from Table with selected Columns.
+  * Does Table Exist?
+ ==== Get All Rows from Table with all Columns ====
+ This query is called by sending a query to URI:
+ {{{
+ '/TABLE_NAME'
+ }}}
+ Then JSONRest will return JSON of the following form:
+ {{{
  
+ }}}
+ ==== Get All Rows from Table with selected Columns ====
+ ==== Does Table Exist? ====
+ === Row ===
+ === Cell ===
+ === Timestamp ===
+ == Post ==
+ == Put ==
+ == Delete ==
+ == Transactions ==
+ == Scanners ==
+ 

Reply via email to