HBASE-3541 REST Multi Gets

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1085183 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-03-24 23:06:08 +00:00
parent 4c59785135
commit d82dabaa6f
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -269,6 +269,12 @@ public class TableResource extends ResourceBase {
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