Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Stargate / Rest - Get Multiple Rows by their keys in one call

James Andrew-Smith 2013-03-15, 05:38
Copy link to this message
Re: Stargate / Rest - Get Multiple Rows by their keys in one call
Per http://svn.apache.org/repos/asf/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestMultiRowResource.java
it appears you can. Also, see

The syntax seems to be /multiget?row=id1&row=id2&row=id3 and so forth.

  public MultiRowResource getMultipleRowResource(

and you get back a MultiRowResource.

Let us know if this works as expected.

On Thu, Mar 14, 2013 at 10:38 PM, James Andrew-Smith
> Hi All,
> I want to use Stargate to get multiple rows by their
> ID/Rowkey, essentially what's described here, but via REST.
> http://stackoverflow.com/questions/13310434/hbase-api-get-data-rows-information-by-list-of-row-ids
> 1. Is this possible?
> 2. If so, Could someone give me an example of the syntax I should use to do
> this?
> 3. If not, is their some alternative?
> Many thanks,
> JR
Suraj Varma 2013-03-15, 23:19