Package io.trino.dispatcher
Interface DispatchQuery
-
- All Superinterfaces:
ManagedQueryExecution,QueryTracker.TrackedQuery
- All Known Implementing Classes:
FailedDispatchQuery,LocalDispatchQuery
public interface DispatchQuery extends QueryTracker.TrackedQuery, ManagedQueryExecution
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()com.google.common.util.concurrent.ListenableFuture<Void>getDispatchedFuture()DispatchInfogetDispatchInfo()voidrecordHeartbeat()-
Methods inherited from interface io.trino.execution.ManagedQueryExecution
addStateChangeListener, fail, getBasicQueryInfo, getErrorCode, getFullQueryInfo, getSession, getState, getTotalCpuTime, getTotalMemoryReservation, getUserMemoryReservation, isDone, startWaitingForResources
-
Methods inherited from interface io.trino.execution.QueryTracker.TrackedQuery
fail, getCreateTime, getEndTime, getExecutionStartTime, getLastHeartbeat, getPlanningTime, getQueryId, getSession, isDone, pruneInfo
-
-
-
-
Method Detail
-
recordHeartbeat
void recordHeartbeat()
-
getDispatchedFuture
com.google.common.util.concurrent.ListenableFuture<Void> getDispatchedFuture()
-
getDispatchInfo
DispatchInfo getDispatchInfo()
-
cancel
void cancel()
-
-