Class HttpServerEventListener
java.lang.Object
io.trino.plugin.httpquery.HttpServerEventListener
- All Implemented Interfaces:
EventListener
-
Constructor Summary
ConstructorsConstructorDescriptionHttpServerEventListener(io.airlift.http.server.HttpServerInfo httpServerInfo, io.airlift.bootstrap.LifeCycleManager lifecycleManager, HttpServerEventListenerConfig config) -
Method Summary
Modifier and TypeMethodDescriptionget(jakarta.ws.rs.core.UriInfo uriInfo) voidqueryCompleted(QueryCompletedEvent queryCompletedEvent) voidqueryCreated(QueryCreatedEvent queryCreatedEvent) voidshutdown()voidsplitCompleted(SplitCompletedEvent splitCompletedEvent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.eventlistener.EventListener
requiresAnonymizedPlan
-
Constructor Details
-
HttpServerEventListener
@Inject public HttpServerEventListener(io.airlift.http.server.HttpServerInfo httpServerInfo, io.airlift.bootstrap.LifeCycleManager lifecycleManager, HttpServerEventListenerConfig config)
-
-
Method Details
-
get
@GET @Path("completedQueries/get/{queryId}") @Produces("application/json") public QueryCompletedEvent get(@PathParam("queryId") String queryId) -
get
-
queryCreated
- Specified by:
queryCreatedin interfaceEventListener
-
queryCompleted
- Specified by:
queryCompletedin interfaceEventListener
-
splitCompleted
- Specified by:
splitCompletedin interfaceEventListener
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceEventListener
-