Class NamespacesResource

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

@Private public class NamespacesResource extends ResourceBase
Implements REST GET list of all namespaces.

/namespaces

  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
  • Constructor Details

  • Method Details

    • 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 javax.servlet.ServletContext context, @Context org.apache.hbase.thirdparty.javax.ws.rs.core.UriInfo uriInfo)
      Build a response for a list of all namespaces request.
      Parameters:
      context - servlet context
      uriInfo - (JAX-RS context variable) request URL
      Returns:
      a response for a version request
    • getNamespaceInstanceResource

      @Path("{namespace}") public NamespacesInstanceResource getNamespaceInstanceResource(@PathParam("namespace") String namespace) throws IOException
      Dispatch to NamespaceInstanceResource
      Throws:
      IOException