Class ProfileResources
java.lang.Object
org.apache.drill.exec.server.rest.profile.ProfileResources
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
class
class
class
class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncancelQuery
(String queryId) javax.ws.rs.core.Response
getCompletedProfilesJSON
(javax.ws.rs.core.UriInfo uriInfo) protected ClusterCoordinator
org.glassfish.jersey.server.mvc.Viewable
getProfile
(String queryId) javax.ws.rs.core.Response
getProfileJSON
(String queryId) org.glassfish.jersey.server.mvc.Viewable
getProfiles
(javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
getProfilesJSON
(javax.ws.rs.core.UriInfo uriInfo) protected PersistentStoreProvider
javax.ws.rs.core.Response
getRunningProfilesJSON
(javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
getSpecificJSON
(javax.ws.rs.core.UriInfo uriInfo, String status) org.glassfish.jersey.server.mvc.Viewable
viewProfile
(String content)
-
Constructor Details
-
ProfileResources
public ProfileResources()
-
-
Method Details
-
getProvider
-
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
-