Class RowResource

java.lang.Object
org.apache.hadoop.hbase.rest.ResourceBase
org.apache.hadoop.hbase.rest.RowResource
All Implemented Interfaces:
Constants

@Private public class RowResource extends ResourceBase
  • Field Details

  • Constructor Details

  • Method Details

    • get

      @GET @Produces({"text/xml","application/json","application/x-protobuf","application/protobuf"}) public org.apache.hbase.thirdparty.javax.ws.rs.core.Response get(@Context org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo)
    • getBinary

      @GET @Produces("application/octet-stream") public org.apache.hbase.thirdparty.javax.ws.rs.core.Response getBinary(@Context org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo)
    • update

      org.apache.hbase.thirdparty.javax.ws.rs.core.Response update(CellSetModel model, boolean replace)
    • updateBinary

      org.apache.hbase.thirdparty.javax.ws.rs.core.Response updateBinary(byte[] message, org.apache.hbase.thirdparty.javax.ws.rs.core.HttpHeaders headers, boolean replace)
    • put

      @PUT @Consumes({"text/xml","application/json","application/x-protobuf","application/protobuf"}) public org.apache.hbase.thirdparty.javax.ws.rs.core.Response put(CellSetModel model, @Context org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo)
    • putBinary

      @PUT @Consumes("application/octet-stream") public org.apache.hbase.thirdparty.javax.ws.rs.core.Response putBinary(byte[] message, @Context org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo, @Context org.apache.hbase.thirdparty.javax.ws.rs.core.HttpHeaders headers)
    • post

      @POST @Consumes({"text/xml","application/json","application/x-protobuf","application/protobuf"}) public org.apache.hbase.thirdparty.javax.ws.rs.core.Response post(CellSetModel model, @Context org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo)
    • postBinary

      @POST @Consumes("application/octet-stream") public org.apache.hbase.thirdparty.javax.ws.rs.core.Response postBinary(byte[] message, @Context org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo, @Context org.apache.hbase.thirdparty.javax.ws.rs.core.HttpHeaders headers)
    • delete

      @DELETE public org.apache.hbase.thirdparty.javax.ws.rs.core.Response delete(@Context org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo)
    • checkAndPut

      org.apache.hbase.thirdparty.javax.ws.rs.core.Response checkAndPut(CellSetModel model)
      Validates the input request parameters, parses columns from CellSetModel, and invokes checkAndPut on HTable.
      Parameters:
      model - instance of CellSetModel
      Returns:
      Response 200 OK, 304 Not modified, 400 Bad request
    • checkAndDelete

      org.apache.hbase.thirdparty.javax.ws.rs.core.Response checkAndDelete(CellSetModel model)
      Validates the input request parameters, parses columns from CellSetModel, and invokes checkAndDelete on HTable.
      Parameters:
      model - instance of CellSetModel
      Returns:
      Response 200 OK, 304 Not modified, 400 Bad request
    • append

      org.apache.hbase.thirdparty.javax.ws.rs.core.Response append(CellSetModel model)
      Validates the input request parameters, parses columns from CellSetModel, and invokes Append on HTable.
      Parameters:
      model - instance of CellSetModel
      Returns:
      Response 200 OK, 304 Not modified, 400 Bad request
    • increment

      org.apache.hbase.thirdparty.javax.ws.rs.core.Response increment(CellSetModel model)
      Validates the input request parameters, parses columns from CellSetModel, and invokes Increment on HTable.
      Parameters:
      model - instance of CellSetModel
      Returns:
      Response 200 OK, 304 Not modified, 400 Bad request