Uses of Record Class
io.trino.execution.TaskInfo
Packages that use TaskInfo
Package
Description
-
Uses of TaskInfo in io.trino.execution
Methods in io.trino.execution that return TaskInfoModifier and TypeMethodDescriptionSqlTask.abort()Aborts a task.SqlTask.cancel()SqlTaskManager.cancelTask(TaskId taskId) Cancels a task.static TaskInfoTaskInfo.createInitialTask(TaskId taskId, URI location, String nodeId, boolean speculative, Optional<List<PipelinedBufferInfo>> pipelinedBufferStates, TaskStats taskStats) SqlTask.destroyTaskResults(PipelinedOutputBuffers.OutputBufferId bufferId) SqlTaskManager.destroyTaskResults(TaskId taskId, PipelinedOutputBuffers.OutputBufferId bufferId) Aborts a result buffer for a task.Fail a task.RemoteTask.getTaskInfo()SqlTask.getTaskInfo()SqlTaskManager.getTaskInfo(TaskId taskId) Gets the info for the specified task.TaskInfo.pruneSpoolingOutputStats()TaskInfo.summarize()SqlTask.updateTask(Session session, io.opentelemetry.api.trace.Span stageSpan, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputBuffers, Map<DynamicFilterId, Domain> dynamicFilterDomains, boolean speculative) SqlTaskManager.updateTask(Session session, TaskId taskId, io.opentelemetry.api.trace.Span stageSpan, Optional<PlanFragment> fragment, List<SplitAssignment> splitAssignments, OutputBuffers outputBuffers, Map<DynamicFilterId, Domain> dynamicFilterDomains, boolean speculative) Updates the task plan, splitAssignments and output buffers.TaskInfo.withEstimatedMemory(io.airlift.units.DataSize estimatedMemory) TaskInfo.withTaskStatus(TaskStatus newTaskStatus) Methods in io.trino.execution that return types with arguments of type TaskInfoModifier and TypeMethodDescriptionSqlTaskManager.getAllTaskInfo()Gets all of the currently tracked tasks.com.google.common.util.concurrent.ListenableFuture<TaskInfo> SqlTask.getTaskInfo(long callersCurrentVersion) com.google.common.util.concurrent.ListenableFuture<TaskInfo> SqlTaskManager.getTaskInfo(TaskId taskId, long currentVersion) Gets future info for the task after the state changes fromcurrent state.BasicStageInfo.getTasks()StageInfo.getTasks()Method parameters in io.trino.execution with type arguments of type TaskInfoModifier and TypeMethodDescriptionvoidRemoteTask.addFinalTaskInfoListener(StateMachine.StateChangeListener<TaskInfo> stateChangeListener) Add a listener for the final task info.StageStateMachine.getBasicStageInfo(Supplier<Iterable<TaskInfo>> taskInfosSupplier) StageStateMachine.getBasicStageStats(Supplier<Iterable<TaskInfo>> taskInfosSupplier) StageStateMachine.getStageInfo(Supplier<Iterable<TaskInfo>> taskInfosSupplier) voidStageStateMachine.setAllTasksFinal(Iterable<TaskInfo> finalTaskInfos) -
Uses of TaskInfo in io.trino.execution.scheduler
Methods in io.trino.execution.scheduler with parameters of type TaskInfo -
Uses of TaskInfo in io.trino.memory
Methods in io.trino.memory that return types with arguments of type TaskInfoConstructor parameters in io.trino.memory with type arguments of type TaskInfoModifierConstructorDescriptionRunningQueryInfo(QueryId queryId, long memoryReservation, Map<TaskId, TaskInfo> taskInfos, RetryPolicy retryPolicy) -
Uses of TaskInfo in io.trino.server
Methods in io.trino.server that return TaskInfoModifier and TypeMethodDescriptionTaskResource.deleteTask(TaskId taskId, boolean abort, jakarta.ws.rs.core.UriInfo uriInfo) TaskResource.failTask(TaskId taskId, FailTaskRequest failTaskRequest) Methods in io.trino.server that return types with arguments of type TaskInfoModifier and TypeMethodDescriptionTaskResource.getAllTaskInfo(jakarta.ws.rs.core.UriInfo uriInfo) -
Uses of TaskInfo in io.trino.server.remotetask
Methods in io.trino.server.remotetask that return TaskInfoMethod parameters in io.trino.server.remotetask with type arguments of type TaskInfoModifier and TypeMethodDescriptionvoidHttpRemoteTask.addFinalTaskInfoListener(StateMachine.StateChangeListener<TaskInfo> stateChangeListener) voidTaskInfoFetcher.addFinalTaskInfoListener(StateMachine.StateChangeListener<TaskInfo> stateChangeListener) Add a listener for the final task info.Constructors in io.trino.server.remotetask with parameters of type TaskInfoModifierConstructorDescriptionTaskInfoFetcher(Consumer<Throwable> onFail, io.trino.server.remotetask.ContinuousTaskStatusFetcher taskStatusFetcher, TaskInfo initialTask, io.airlift.http.client.HttpClient httpClient, Supplier<io.opentelemetry.api.trace.SpanBuilder> spanBuilderFactory, io.airlift.units.Duration updateInterval, io.airlift.json.JsonCodec<TaskInfo> taskInfoCodec, io.airlift.units.Duration maxErrorDuration, boolean summarizeTaskInfo, Executor executor, ScheduledExecutorService updateScheduledExecutor, ScheduledExecutorService errorScheduledExecutor, RemoteTaskStats stats, Optional<io.airlift.units.DataSize> estimatedMemory, RetryPolicy retryPolicy) Constructor parameters in io.trino.server.remotetask with type arguments of type TaskInfoModifierConstructorDescriptionTaskInfoFetcher(Consumer<Throwable> onFail, io.trino.server.remotetask.ContinuousTaskStatusFetcher taskStatusFetcher, TaskInfo initialTask, io.airlift.http.client.HttpClient httpClient, Supplier<io.opentelemetry.api.trace.SpanBuilder> spanBuilderFactory, io.airlift.units.Duration updateInterval, io.airlift.json.JsonCodec<TaskInfo> taskInfoCodec, io.airlift.units.Duration maxErrorDuration, boolean summarizeTaskInfo, Executor executor, ScheduledExecutorService updateScheduledExecutor, ScheduledExecutorService errorScheduledExecutor, RemoteTaskStats stats, Optional<io.airlift.units.DataSize> estimatedMemory, RetryPolicy retryPolicy) -
Uses of TaskInfo in io.trino.sql.planner.planprinter
Method parameters in io.trino.sql.planner.planprinter with type arguments of type TaskInfoModifier and TypeMethodDescriptionstatic Map<PlanNodeId, PlanNodeStats> PlanNodeStatsSummarizer.aggregateTaskStats(List<TaskInfo> taskInfos)