org.apache.hadoop.hbase.stargate
Class RowResource

java.lang.Object
  extended by org.apache.hadoop.hbase.stargate.RowResource
All Implemented Interfaces:
Constants

public class RowResource
extends Object
implements Constants


Field Summary
 
Fields inherited from interface org.apache.hadoop.hbase.stargate.Constants
AUTHENTICATOR_KEY, DEFAULT_MAX_AGE, INSTANCE_ZNODE_ROOT, MIMETYPE_BINARY, MIMETYPE_HTML, MIMETYPE_JSON, MIMETYPE_PROTOBUF, MIMETYPE_TEXT, MIMETYPE_XML, MULTIUSER_KEY, STATUS_REPORT_PERIOD_KEY, USERS_TABLE, USERS_ZNODE_ROOT, VERSION_STRING
 
Constructor Summary
RowResource(User user, String table, String rowspec, String versions)
           
 
Method Summary
 javax.ws.rs.core.Response delete(javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response get(javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response getBinary(javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response post(CellSetModel model, javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response postBinary(byte[] message, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)
           
 javax.ws.rs.core.Response put(CellSetModel model, javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response putBinary(byte[] message, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowResource

public RowResource(User user,
                   String table,
                   String rowspec,
                   String versions)
            throws IOException
Throws:
IOException
Method Detail

get

public javax.ws.rs.core.Response get(@Context
                                     javax.ws.rs.core.UriInfo uriInfo)
                              throws IOException
Throws:
IOException

getBinary

public javax.ws.rs.core.Response getBinary(@Context
                                           javax.ws.rs.core.UriInfo uriInfo)
                                    throws IOException
Throws:
IOException

put

public javax.ws.rs.core.Response put(CellSetModel model,
                                     @Context
                                     javax.ws.rs.core.UriInfo uriInfo)
                              throws IOException
Throws:
IOException

putBinary

public javax.ws.rs.core.Response putBinary(byte[] message,
                                           @Context
                                           javax.ws.rs.core.UriInfo uriInfo,
                                           @Context
                                           javax.ws.rs.core.HttpHeaders headers)
                                    throws IOException
Throws:
IOException

post

public javax.ws.rs.core.Response post(CellSetModel model,
                                      @Context
                                      javax.ws.rs.core.UriInfo uriInfo)
                               throws IOException
Throws:
IOException

postBinary

public javax.ws.rs.core.Response postBinary(byte[] message,
                                            @Context
                                            javax.ws.rs.core.UriInfo uriInfo,
                                            @Context
                                            javax.ws.rs.core.HttpHeaders headers)
                                     throws IOException
Throws:
IOException

delete

public javax.ws.rs.core.Response delete(@Context
                                        javax.ws.rs.core.UriInfo uriInfo)
                                 throws IOException
Throws:
IOException


Copyright © 2010 The Apache Software Foundation