hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1085183 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/rest/TableResource.java
Date Thu, 24 Mar 2011 23:06:09 GMT
Author: stack
Date: Thu Mar 24 23:06:08 2011
New Revision: 1085183

URL: http://svn.apache.org/viewvc?rev=1085183&view=rev
Log:
HBASE-3541 REST Multi Gets

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1085183&r1=1085182&r2=1085183&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Thu Mar 24 23:06:08 2011
@@ -98,6 +98,7 @@ Release 0.91.0 - Unreleased
    HBASE-3673  Reduce HTable Pool Contention Using Concurrent Collections
                (Karthick Sankarachary via Stack)
    HBASE-3474  HFileOutputFormat to use column family's compression algorithm
+   HBASE-3541  REST Multi Gets (Elliott Clark via Stack)
 
   TASK
    HBASE-3559  Move report of split to master OFF the heartbeat channel

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java?rev=1085183&r1=1085182&r2=1085183&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java Thu Mar 24 23:06:08
2011
@@ -269,6 +269,12 @@ public class TableResource extends Resou
     return new SchemaResource(this);
   }
 
+  @Path("multiget")
+  public MultiRowResource getMultipleRowResource(
+          final @QueryParam("v") String versions) throws IOException {
+    return new MultiRowResource(this, versions);
+  }
+
   @Path("{rowspec: .+}")
   public RowResource getRowResource(
       // We need the @Encoded decorator so Jersey won't urldecode before



Mime
View raw message