Package io.trino.connector.system
Class KillQueryProcedure
- java.lang.Object
-
- io.trino.connector.system.KillQueryProcedure
-
public class KillQueryProcedure extends Object
-
-
Constructor Summary
Constructors Constructor Description KillQueryProcedure(Optional<DispatchManager> dispatchManager, AccessControl accessControl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrinoExceptioncreateKillQueryException(String message)static TrinoExceptioncreatePreemptQueryException(String message)ProceduregetProcedure()voidkillQuery(String queryId, String message, ConnectorSession session)
-
-
-
Constructor Detail
-
KillQueryProcedure
@Inject public KillQueryProcedure(Optional<DispatchManager> dispatchManager, AccessControl accessControl)
-
-
Method Detail
-
killQuery
public void killQuery(String queryId, String message, ConnectorSession session)
-
getProcedure
public Procedure getProcedure()
-
createKillQueryException
public static TrinoException createKillQueryException(String message)
-
createPreemptQueryException
public static TrinoException createPreemptQueryException(String message)
-
-