Class PinotClientRequest


  • @Path("/")
    public class PinotClientRequest
    extends Object
    • Constructor Detail

      • PinotClientRequest

        public PinotClientRequest()
    • Method Detail

      • processSqlQueryGet

        @GET
        @ManagedAsync
        @Produces("application/json")
        @Path("query/sql")
        public void processSqlQueryGet​(@QueryParam("sql")
                                       String query,
                                       @QueryParam("trace")
                                       String traceEnabled,
                                       @Suspended
                                       javax.ws.rs.container.AsyncResponse asyncResponse,
                                       @Context
                                       org.glassfish.grizzly.http.server.Request requestContext,
                                       @Context
                                       javax.ws.rs.core.HttpHeaders httpHeaders)
      • processSqlQueryPost

        @POST
        @ManagedAsync
        @Produces("application/json")
        @Path("query/sql")
        public void processSqlQueryPost​(String query,
                                        @Suspended
                                        javax.ws.rs.container.AsyncResponse asyncResponse,
                                        @Context
                                        org.glassfish.grizzly.http.server.Request requestContext,
                                        @Context
                                        javax.ws.rs.core.HttpHeaders httpHeaders)
      • processSqlWithMultiStageQueryEngineGet

        @GET
        @ManagedAsync
        @Produces("application/json")
        @Path("query")
        public void processSqlWithMultiStageQueryEngineGet​(@QueryParam("sql")
                                                           String query,
                                                           @Suspended
                                                           javax.ws.rs.container.AsyncResponse asyncResponse,
                                                           @Context
                                                           org.glassfish.grizzly.http.server.Request requestContext,
                                                           @Context
                                                           javax.ws.rs.core.HttpHeaders httpHeaders)
      • processSqlWithMultiStageQueryEnginePost

        @POST
        @ManagedAsync
        @Produces("application/json")
        @Path("query")
        public void processSqlWithMultiStageQueryEnginePost​(String query,
                                                            @Suspended
                                                            javax.ws.rs.container.AsyncResponse asyncResponse,
                                                            @Context
                                                            org.glassfish.grizzly.http.server.Request requestContext,
                                                            @Context
                                                            javax.ws.rs.core.HttpHeaders httpHeaders)
      • cancelQuery

        @DELETE
        @Path("query/{queryId}")
        @Produces("application/json")
        public String cancelQuery​(@PathParam("queryId")
                                  long queryId,
                                  @QueryParam("timeoutMs") @DefaultValue("3000")
                                  int timeoutMs,
                                  @QueryParam("verbose") @DefaultValue("false")
                                  boolean verbose)
      • getRunningQueries

        @GET
        @Path("queries")
        @Produces("application/json")
        public Map<Long,​String> getRunningQueries()