Uses of Class
io.trino.execution.TaskId
Packages that use TaskId
Package
Description
-
Uses of TaskId in io.trino
-
Uses of TaskId in io.trino.event
Methods in io.trino.event with parameters of type TaskIdModifier and TypeMethodDescriptionvoidSplitMonitor.splitCompletedEvent(TaskId taskId, DriverStats driverStats) voidSplitMonitor.splitFailedEvent(TaskId taskId, DriverStats driverStats, Throwable cause) -
Uses of TaskId in io.trino.exchange
Methods in io.trino.exchange that return TaskIdConstructors in io.trino.exchange with parameters of type TaskId -
Uses of TaskId in io.trino.execution
Methods in io.trino.execution that return TaskIdModifier and TypeMethodDescriptionRemoteTask.getTaskId()SqlTask.getTaskId()SqlTaskExecution.getTaskId()TaskStateMachine.getTaskId()TaskStatus.getTaskId()static TaskIdMethods in io.trino.execution with parameters of type TaskIdModifier and TypeMethodDescriptionAborts a task.SqlTaskManager.acknowledgeAndGetNewDynamicFilterDomains(TaskId taskId, long currentDynamicFiltersVersion) voidSqlTaskManager.acknowledgeTaskResults(TaskId taskId, PipelinedOutputBuffers.OutputBufferId bufferId, long sequenceId) Acknowledges previously received results.voidSqlTaskManager.addSourceTaskFailureListener(TaskId taskId, TaskFailureListener listener) Add a listener that notifies about failures of any source tasks for a given taskvoidSqlTaskManager.addStateChangeListener(TaskId taskId, StateMachine.StateChangeListener<TaskState> stateChangeListener) Adds a state change listener to the specified task.SqlTaskManager.cancelTask(TaskId taskId) Cancels a task.static TaskInfoTaskInfo.createInitialTask(TaskId taskId, URI location, String nodeId, boolean speculative, Optional<List<PipelinedBufferInfo>> pipelinedBufferStates, TaskStats taskStats) LocationFactory.createLocalTaskLocation(TaskId taskId) NodeTaskMap.createPartitionedSplitCountTracker(InternalNode node, TaskId taskId) MemoryTrackingRemoteTaskFactory.createRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory, boolean summarizeTaskInfo) RemoteTaskFactory.createRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory, boolean summarizeTaskInfo) static SqlTaskSqlTask.createSqlTask(TaskId taskId, URI location, String nodeId, QueryContext queryContext, io.opentelemetry.api.trace.Tracer tracer, SqlTaskExecutionFactory sqlTaskExecutionFactory, ExecutorService taskNotificationExecutor, Consumer<SqlTask> onDone, io.airlift.units.DataSize maxBufferSize, io.airlift.units.DataSize maxBroadcastBufferSize, ExchangeManagerRegistry exchangeManagerRegistry, io.airlift.stats.CounterStat failedTasks) LocationFactory.createTaskLocation(InternalNode node, TaskId taskId) SqlTaskManager.destroyTaskResults(TaskId taskId, PipelinedOutputBuffers.OutputBufferId bufferId) Aborts a result buffer for a task.voidvoidvoidFail a task.voidSqlStage.failTaskRemotely(TaskId taskId, Throwable failureCause) SqlTaskManager.getTaskInfo(TaskId taskId) Gets the info for the specified task.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.SqlTaskManager.getTaskResults(TaskId taskId, PipelinedOutputBuffers.OutputBufferId bufferId, long startingSequenceId, io.airlift.units.DataSize maxSize) Gets results from a task either immediately or in the future.SqlTaskManager.getTaskStatus(TaskId taskId) Gets the status for the specified task.com.google.common.util.concurrent.ListenableFuture<TaskStatus> SqlTaskManager.getTaskStatus(TaskId taskId, long currentVersion) Gets future status for the task after the state changes fromcurrent state.SqlTaskManager.getTraceToken(TaskId taskId) Return trace token for a given task (see Session#traceToken)static TaskStatusTaskStatus.initialTaskStatus(TaskId taskId, URI location, String nodeId, boolean speculative) voidTaskFailureListener.onTaskFailed(TaskId taskId, Throwable failure) voidDataDefinitionExecution.outputTaskFailed(TaskId taskId, Throwable failure) voidQueryExecution.outputTaskFailed(TaskId taskId, Throwable failure) voidQueryManager.outputTaskFailed(TaskId taskId, Throwable failure) Notify that one of the output tasks failed for a given queryvoidQueryStateMachine.outputTaskFailed(TaskId taskId, Throwable failure) voidQueryStateMachine.QueryOutputManager.outputTaskFailed(TaskId taskId, Throwable failure) voidSqlQueryExecution.outputTaskFailed(TaskId taskId, Throwable failure) voidSqlQueryManager.outputTaskFailed(TaskId taskId, Throwable failure) voidTaskStateMachine.sourceTaskFailed(TaskId taskId, Throwable failure) 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.Constructors in io.trino.execution with parameters of type TaskIdModifierConstructorDescriptionTaskStateMachine(TaskId taskId, Executor executor) TaskStatus(TaskId taskId, String taskInstanceId, long version, TaskState state, URI self, String nodeId, boolean speculative, List<ExecutionFailureInfo> failures, int queuedPartitionedDrivers, int runningPartitionedDrivers, OutputBufferStatus outputBufferStatus, io.airlift.units.DataSize outputDataSize, io.airlift.units.DataSize writerInputDataSize, io.airlift.units.DataSize physicalWrittenDataSize, Optional<Integer> maxWriterCount, io.airlift.units.DataSize memoryReservation, io.airlift.units.DataSize peakMemoryReservation, io.airlift.units.DataSize revocableMemoryReservation, long fullGcCount, io.airlift.units.Duration fullGcTime, long dynamicFiltersVersion, long queuedPartitionedSplitsWeight, long runningPartitionedSplitsWeight) -
Uses of TaskId in io.trino.execution.buffer
Constructors in io.trino.execution.buffer with parameters of type TaskIdModifierConstructorDescriptionLazyOutputBuffer(TaskId taskId, String taskInstanceId, Executor executor, io.airlift.units.DataSize maxBufferSize, io.airlift.units.DataSize maxBroadcastBufferSize, Supplier<LocalMemoryContext> memoryContextSupplier, Runnable notifyStatusChanged, ExchangeManagerRegistry exchangeManagerRegistry) OutputBufferStateMachine(TaskId taskId, Executor executor) -
Uses of TaskId in io.trino.execution.executor
Methods in io.trino.execution.executor that return TaskIdMethods in io.trino.execution.executor that return types with arguments of type TaskIdModifier and TypeMethodDescriptionTaskExecutor.getStuckSplitTaskIds(io.airlift.units.Duration processingDurationThreshold, Predicate<RunningSplitInfo> filter) Methods in io.trino.execution.executor with parameters of type TaskIdModifier and TypeMethodDescriptionTaskExecutor.addTask(TaskId taskId, DoubleSupplier utilizationSupplier, int initialSplitConcurrency, io.airlift.units.Duration splitConcurrencyAdjustFrequency, OptionalInt maxDriversPerTask) Constructors in io.trino.execution.executor with parameters of type TaskId -
Uses of TaskId in io.trino.execution.executor.dedicated
Methods in io.trino.execution.executor.dedicated that return types with arguments of type TaskIdModifier and TypeMethodDescriptionThreadPerDriverTaskExecutor.getStuckSplitTaskIds(io.airlift.units.Duration processingDurationThreshold, Predicate<RunningSplitInfo> filter) Methods in io.trino.execution.executor.dedicated with parameters of type TaskIdModifier and TypeMethodDescriptionThreadPerDriverTaskExecutor.addTask(TaskId taskId, DoubleSupplier utilizationSupplier, int initialSplitConcurrency, io.airlift.units.Duration splitConcurrencyAdjustFrequency, OptionalInt maxDriversPerTask) -
Uses of TaskId in io.trino.execution.executor.timesharing
Methods in io.trino.execution.executor.timesharing that return TaskIdMethods in io.trino.execution.executor.timesharing that return types with arguments of type TaskIdModifier and TypeMethodDescriptionTimeSharingTaskExecutor.getStuckSplitTaskIds(io.airlift.units.Duration processingDurationThreshold, Predicate<RunningSplitInfo> filter) Methods in io.trino.execution.executor.timesharing with parameters of type TaskIdModifier and TypeMethodDescriptionTimeSharingTaskExecutor.addTask(TaskId taskId, DoubleSupplier utilizationSupplier, int initialSplitConcurrency, io.airlift.units.Duration splitConcurrencyAdjustFrequency, OptionalInt maxDriversPerTask) Constructors in io.trino.execution.executor.timesharing with parameters of type TaskIdModifierConstructorDescriptionTimeSharingTaskHandle(TaskId taskId, MultilevelSplitQueue splitQueue, DoubleSupplier utilizationSupplier, int initialSplitConcurrency, io.airlift.units.Duration splitConcurrencyAdjustFrequency, OptionalInt maxDriversPerTask) -
Uses of TaskId in io.trino.execution.scheduler
Methods in io.trino.execution.scheduler with parameters of type TaskIdModifier and TypeMethodDescriptionvoidvoidvoidvoid -
Uses of TaskId in io.trino.execution.scheduler.faulttolerant
Methods in io.trino.execution.scheduler.faulttolerant with parameters of type TaskIdModifier and TypeMethodDescriptiondefault voidNodeAllocator.NodeLease.attachTaskId(TaskId taskId) voidvoidEventDrivenFaultTolerantQueryScheduler.StageExecution.finalizeUpdateOfExchangeSinkInstanceHandle(TaskId taskId, ExchangeSinkInstanceHandle updatedExchangeSinkInstanceHandle) voidEventDrivenFaultTolerantQueryScheduler.StageExecution.initializeUpdateOfExchangeSinkInstanceHandle(TaskId taskId, BlockingQueue<io.trino.execution.scheduler.faulttolerant.EventDrivenFaultTolerantQueryScheduler.Event> eventQueue) List<io.trino.execution.scheduler.faulttolerant.EventDrivenFaultTolerantQueryScheduler.PrioritizedScheduledTask> EventDrivenFaultTolerantQueryScheduler.StageExecution.taskFailed(TaskId taskId, ExecutionFailureInfo failureInfo, TaskStatus taskStatus) voidEventDrivenFaultTolerantQueryScheduler.StageExecution.taskFinished(TaskId taskId, TaskStatus taskStatus) -
Uses of TaskId in io.trino.memory
Methods in io.trino.memory that return types with arguments of type TaskIdModifier and TypeMethodDescriptionLowMemoryKiller.RunningQueryInfo.getTaskInfos()MemoryPool.getTaskMemoryReservations()MemoryPool.getTaskRevocableMemoryReservations()KillTarget.getTasks()Methods in io.trino.memory with parameters of type TaskIdModifier and TypeMethodDescriptionvoidvoidMemoryPool.freeRevocable(TaskId taskId, long bytes) QueryContext.getTaskContextByTaskId(TaskId taskId) com.google.common.util.concurrent.ListenableFuture<Void> Reserves the given number of bytes.com.google.common.util.concurrent.ListenableFuture<Void> MemoryPool.reserveRevocable(TaskId taskId, long bytes) booleanMemoryPool.tryReserve(TaskId taskId, String allocationTag, long bytes) Try to reserve the given number of bytes.Method parameters in io.trino.memory with type arguments of type TaskIdConstructor parameters in io.trino.memory with type arguments of type TaskIdModifierConstructorDescriptionRunningQueryInfo(QueryId queryId, long memoryReservation, Map<TaskId, TaskInfo> taskInfos, RetryPolicy retryPolicy) -
Uses of TaskId in io.trino.metadata
Methods in io.trino.metadata with parameters of type TaskIdModifier and TypeMethodDescriptionvoidLanguageFunctionManager.registerTask(TaskId taskId, List<LanguageScalarFunctionData> languageFunctions) voidLanguageFunctionProvider.registerTask(TaskId taskId, List<LanguageScalarFunctionData> languageFunctions) voidWorkerLanguageFunctionProvider.registerTask(TaskId taskId, List<LanguageScalarFunctionData> functions) voidLanguageFunctionManager.unregisterTask(TaskId taskId) voidLanguageFunctionProvider.unregisterTask(TaskId taskId) voidWorkerLanguageFunctionProvider.unregisterTask(TaskId taskId) -
Uses of TaskId in io.trino.operator
Methods in io.trino.operator that return TaskIdModifier and TypeMethodDescriptionHttpPageBufferClient.getRemoteTaskId()DriverContext.getTaskId()PipelineContext.getTaskId()ProcessorContext.getTaskId()TaskContext.getTaskId()Methods in io.trino.operator with parameters of type TaskIdModifier and TypeMethodDescriptionvoidDirectExchangeClient.addLocation(TaskId taskId, URI location) voidvoidvoidvoidvoidvoidvoidTaskContext.sourceTaskFailed(TaskId taskId, Throwable failure) voidDeduplicatingDirectExchangeBuffer.taskFailed(TaskId taskId, Throwable t) voidDirectExchangeBuffer.taskFailed(TaskId taskId, Throwable t) voidStreamingDirectExchangeBuffer.taskFailed(TaskId taskId, Throwable t) voidDeduplicatingDirectExchangeBuffer.taskFinished(TaskId taskId) voidDirectExchangeBuffer.taskFinished(TaskId taskId) voidStreamingDirectExchangeBuffer.taskFinished(TaskId taskId) Constructors in io.trino.operator with parameters of type TaskIdModifierConstructorDescriptionHttpPageBufferClient(String selfAddress, io.airlift.http.client.HttpClient httpClient, FeaturesConfig.DataIntegrityVerification dataIntegrityVerification, io.airlift.units.DataSize maxResponseSize, io.airlift.units.Duration maxErrorDuration, boolean acknowledgePages, TaskId remoteTaskId, URI location, HttpPageBufferClient.ClientCallback clientCallback, ScheduledExecutorService scheduledExecutor, com.google.common.base.Ticker ticker, Executor pageBufferClientCallbackExecutor) HttpPageBufferClient(String selfAddress, io.airlift.http.client.HttpClient httpClient, FeaturesConfig.DataIntegrityVerification dataIntegrityVerification, io.airlift.units.DataSize maxResponseSize, io.airlift.units.Duration maxErrorDuration, boolean acknowledgePages, TaskId remoteTaskId, URI location, HttpPageBufferClient.ClientCallback clientCallback, ScheduledExecutorService scheduledExecutor, Executor pageBufferClientCallbackExecutor) -
Uses of TaskId in io.trino.server
Methods in io.trino.server with parameters of type TaskIdModifier and TypeMethodDescriptionvoidTaskResource.acknowledgeAndGetNewDynamicFilterDomains(TaskId taskId, Long currentDynamicFiltersVersion, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.container.AsyncResponse asyncResponse) voidTaskResource.acknowledgeResults(TaskId taskId, PipelinedOutputBuffers.OutputBufferId bufferId, long token) voidDynamicFilterService.addTaskDynamicFilters(TaskId taskId, Map<DynamicFilterId, Domain> newDynamicFilters) voidTaskResource.createOrUpdateTask(TaskId taskId, TaskUpdateRequest taskUpdateRequest, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.container.AsyncResponse asyncResponse) HttpRemoteTaskFactory.createRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, InternalNode node, boolean speculative, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory, boolean summarizeTaskInfo) TaskResource.deleteTask(TaskId taskId, boolean abort, jakarta.ws.rs.core.UriInfo uriInfo) voidTaskResource.destroyTaskResults(TaskId taskId, PipelinedOutputBuffers.OutputBufferId bufferId, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.container.AsyncResponse asyncResponse) TaskResource.failTask(TaskId taskId, FailTaskRequest failTaskRequest, jakarta.ws.rs.core.UriInfo uriInfo) voidTaskResource.getResults(TaskId taskId, PipelinedOutputBuffers.OutputBufferId bufferId, long token, io.airlift.units.DataSize maxSize, jakarta.ws.rs.container.AsyncResponse asyncResponse) voidTaskResource.getTaskInfo(TaskId taskId, Long currentVersion, io.airlift.units.Duration maxWait, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.container.AsyncResponse asyncResponse) voidTaskResource.getTaskStatus(TaskId taskId, Long currentVersion, io.airlift.units.Duration maxWait, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.container.AsyncResponse asyncResponse) -
Uses of TaskId in io.trino.server.remotetask
Methods in io.trino.server.remotetask that return TaskIdMethods in io.trino.server.remotetask with parameters of type TaskIdModifier and TypeMethodDescriptionHttpLocationFactory.createLocalTaskLocation(TaskId taskId) HttpLocationFactory.createTaskLocation(InternalNode node, TaskId taskId) Constructors in io.trino.server.remotetask with parameters of type TaskIdModifierConstructorDescriptionHttpRemoteTask(Session session, io.opentelemetry.api.trace.Span stageSpan, TaskId taskId, String nodeId, boolean speculative, URI location, PlanFragment planFragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, io.airlift.http.client.HttpClient httpClient, Executor executor, ScheduledExecutorService updateScheduledExecutor, ScheduledExecutorService errorScheduledExecutor, io.airlift.units.Duration maxErrorDuration, io.airlift.units.Duration taskStatusRefreshMaxWait, io.airlift.units.Duration taskInfoUpdateInterval, io.airlift.units.Duration taskTerminationTimeout, boolean summarizeTaskInfo, io.airlift.json.JsonCodec<TaskStatus> taskStatusCodec, io.airlift.json.JsonCodec<DynamicFiltersCollector.VersionedDynamicFilterDomains> dynamicFilterDomainsCodec, io.airlift.json.JsonCodec<TaskInfo> taskInfoCodec, io.airlift.json.JsonCodec<TaskUpdateRequest> taskUpdateRequestCodec, io.airlift.json.JsonCodec<FailTaskRequest> failTaskRequestCodec, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, io.opentelemetry.api.trace.Tracer tracer, RemoteTaskStats stats, DynamicFilterService dynamicFilterService, Set<DynamicFilterId> outboundDynamicFilterIds, Optional<io.airlift.units.DataSize> estimatedMemory) -
Uses of TaskId in io.trino.server.ui
Methods in io.trino.server.ui with parameters of type TaskIdModifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseWorkerResource.getThreads(TaskId task, String nodeId, jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.ws.rs.core.HttpHeaders httpHeaders) -
Uses of TaskId in io.trino.split
Methods in io.trino.split with parameters of type TaskId