Class ProfileResources

java.lang.Object
org.apache.drill.exec.server.rest.profile.ProfileResources

@Path("/") @RolesAllowed("authenticated") public class ProfileResources extends Object
  • Constructor Details

    • ProfileResources

      public ProfileResources()
  • Method Details

    • getProvider

      protected PersistentStoreProvider getProvider()
    • getCoordinator

      protected ClusterCoordinator getCoordinator()
    • getProfilesJSON

      @GET @Path("/profiles.json") @Produces("application/json") public javax.ws.rs.core.Response getProfilesJSON(@Context javax.ws.rs.core.UriInfo uriInfo)
    • getSpecificJSON

      @GET @Path("/profiles/json") @Produces("application/json") public javax.ws.rs.core.Response getSpecificJSON(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("status") String status)
    • getRunningProfilesJSON

      @GET @Path("/profiles/running.json") @Produces("application/json") public javax.ws.rs.core.Response getRunningProfilesJSON(@Context javax.ws.rs.core.UriInfo uriInfo)
    • getCompletedProfilesJSON

      @GET @Path("/profiles/completed.json") @Produces("application/json") public javax.ws.rs.core.Response getCompletedProfilesJSON(@Context javax.ws.rs.core.UriInfo uriInfo)
    • getProfiles

      @GET @Path("/profiles") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getProfiles(@Context javax.ws.rs.core.UriInfo uriInfo)
    • getProfileJSON

      @GET @Path("/profiles/{queryid}.json") @Produces("application/json") public javax.ws.rs.core.Response getProfileJSON(@PathParam("queryid") String queryId)
    • getProfile

      @GET @Path("/profiles/{queryid}") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getProfile(@PathParam("queryid") String queryId)
    • viewProfile

      @POST @Path("/profiles/view") @Consumes("multipart/form-data") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable viewProfile(String content)
    • cancelQuery

      @GET @Path("/profiles/cancel/{queryid}") @Produces("text/plain") public String cancelQuery(@PathParam("queryid") String queryId)