Class PinotClientRequest
- java.lang.Object
-
- org.apache.pinot.broker.api.resources.PinotClientRequest
-
@Path("/") public class PinotClientRequest extends Object
-
-
Constructor Summary
Constructors Constructor Description PinotClientRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
cancelQuery(long queryId, int timeoutMs, boolean verbose)
Map<Long,String>
getRunningQueries()
void
processSqlQueryGet(String query, String traceEnabled, javax.ws.rs.container.AsyncResponse asyncResponse, org.glassfish.grizzly.http.server.Request requestContext, javax.ws.rs.core.HttpHeaders httpHeaders)
void
processSqlQueryPost(String query, javax.ws.rs.container.AsyncResponse asyncResponse, org.glassfish.grizzly.http.server.Request requestContext, javax.ws.rs.core.HttpHeaders httpHeaders)
void
processSqlWithMultiStageQueryEngineGet(String query, javax.ws.rs.container.AsyncResponse asyncResponse, org.glassfish.grizzly.http.server.Request requestContext, javax.ws.rs.core.HttpHeaders httpHeaders)
void
processSqlWithMultiStageQueryEnginePost(String query, javax.ws.rs.container.AsyncResponse asyncResponse, org.glassfish.grizzly.http.server.Request requestContext, javax.ws.rs.core.HttpHeaders httpHeaders)
-
-
-
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)
-
-