org.apache.hadoop.hbase.stargate
Class SchemaResource

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

public class SchemaResource
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
SchemaResource(User user, String table)
           
 
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(User user,
                      String table)
               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

put

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

post

public javax.ws.rs.core.Response post(TableSchemaModel model,
                                      @Context
                                      javax.ws.rs.core.UriInfo uriInfo)
                               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