Class SchemaResource

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

@Private public class SchemaResource extends ResourceBase
  • Field Details

  • Constructor Details

  • Method Details

    • getTableSchema

      Throws:
      IOException
      TableNotFoundException
    • get

      @GET @Produces({"text/plain","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)
    • replace

      private org.apache.hbase.thirdparty.javax.ws.rs.core.Response replace(TableName name, TableSchemaModel model, org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo, Admin admin)
    • update

      private org.apache.hbase.thirdparty.javax.ws.rs.core.Response update(TableName name, TableSchemaModel model, org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo, Admin admin)
    • update

      private org.apache.hbase.thirdparty.javax.ws.rs.core.Response update(TableSchemaModel model, boolean replace, org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo)
    • put

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

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

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