Class QueryResources

java.lang.Object
org.apache.drill.exec.server.rest.QueryResources

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

    • QueryResources

      public QueryResources()
  • Method Details

    • getQuery

      @GET @Path("/query") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable getQuery()
    • submitQueryJSON

      @POST @Path("/query.json") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.StreamingOutput submitQueryJSON(QueryWrapper query) throws Exception
      Throws:
      Exception
    • submitQuery

      @POST @Path("/query") @Consumes("application/x-www-form-urlencoded") @Produces("text/html") public org.glassfish.jersey.server.mvc.Viewable submitQuery(@FormParam("query") String query, @FormParam("queryType") String queryType, @FormParam("autoLimit") String autoLimit, @FormParam("userName") String userName, @FormParam("defaultSchema") String defaultSchema, javax.ws.rs.core.Form form) throws Exception
      Throws:
      Exception