org.apache.hadoop.hbase.rest
Class SchemaResource

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

public class SchemaResource
extends ResourceBase


Field Summary
 
Fields inherited from interface org.apache.hadoop.hbase.rest.Constants
DEFAULT_LISTEN_PORT, DEFAULT_MAX_AGE, MIMETYPE_BINARY, MIMETYPE_HTML, MIMETYPE_JSON, MIMETYPE_PROTOBUF, MIMETYPE_TEXT, MIMETYPE_XML, VERSION_STRING
 
Constructor Summary
SchemaResource(TableResource tableResource)
          Constructor
 
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 post(TableSchemaModel model, javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response put(TableSchemaModel model, javax.ws.rs.core.UriInfo uriInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaResource

public SchemaResource(TableResource tableResource)
               throws IOException
Constructor

Parameters:
tableResource -
Throws:
IOException
Method Detail

get

public javax.ws.rs.core.Response get(@Context
                                     javax.ws.rs.core.UriInfo uriInfo)

put

public javax.ws.rs.core.Response put(TableSchemaModel model,
                                     @Context
                                     javax.ws.rs.core.UriInfo uriInfo)

post

public javax.ws.rs.core.Response post(TableSchemaModel model,
                                      @Context
                                      javax.ws.rs.core.UriInfo uriInfo)

delete

public javax.ws.rs.core.Response delete(@Context
                                        javax.ws.rs.core.UriInfo uriInfo)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.