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
Modifier and Type Method Description StringcancelQuery(long queryId, int timeoutMs, boolean verbose)Map<Long,String>getRunningQueries()voidprocessSqlQueryGet(String query, String traceEnabled, String debugOptions, javax.ws.rs.container.AsyncResponse asyncResponse, org.glassfish.grizzly.http.server.Request requestContext)voidprocessSqlQueryPost(String query, javax.ws.rs.container.AsyncResponse asyncResponse, org.glassfish.grizzly.http.server.Request requestContext)
-
-
-
Method Detail
-
processSqlQueryGet
@GET @ManagedAsync @Produces("application/json") @Path("query/sql") public void processSqlQueryGet(@QueryParam("sql") String query, @QueryParam("trace") String traceEnabled, @QueryParam("debugOptions") String debugOptions, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @Context org.glassfish.grizzly.http.server.Request requestContext)
-
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)
-
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)
-
-