Uses of Class
io.trino.execution.TaskId
Packages that use TaskId
Package
Description
-
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.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 that return types with arguments of type TaskIdMethods in io.trino.execution with parameters of type TaskIdModifier and TypeMethodDescriptionAborts a task.SqlTaskManager.abortTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId) TaskManager.abortTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId) Aborts a result buffer for a task.SqlTaskManager.acknowledgeAndGetNewDynamicFilterDomains(TaskId taskId, long currentDynamicFiltersVersion) TaskManager.acknowledgeAndGetNewDynamicFilterDomains(TaskId taskId, long currentDynamicFiltersVersion) voidSqlTaskManager.acknowledgeTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId, long sequenceId) voidTaskManager.acknowledgeTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId, long sequenceId) Acknowledges previously received results.voidSqlTaskManager.addSourceTaskFailureListener(TaskId taskId, TaskFailureListener listener) voidTaskManager.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) voidTaskManager.addStateChangeListener(TaskId taskId, StateMachine.StateChangeListener<TaskState> stateChangeListener) Adds a state change listener to the specified task.SqlTaskManager.cancelTask(TaskId taskId) TaskManager.cancelTask(TaskId taskId) Cancels a task.static TaskInfoTaskInfo.createInitialTask(TaskId taskId, URI location, String nodeId, List<BufferInfo> bufferStates, TaskStats taskStats) LocationFactory.createLocalTaskLocation(TaskId taskId) NodeTaskMap.createPartitionedSplitCountTracker(InternalNode node, TaskId taskId) MemoryTrackingRemoteTaskFactory.createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, boolean summarizeTaskInfo) RemoteTaskFactory.createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, boolean summarizeTaskInfo) static SqlTaskSqlTask.createSqlTask(TaskId taskId, URI location, String nodeId, QueryContext queryContext, SqlTaskExecutionFactory sqlTaskExecutionFactory, ExecutorService taskNotificationExecutor, Consumer<SqlTask> onDone, io.airlift.units.DataSize maxBufferSize, io.airlift.units.DataSize maxBroadcastBufferSize, io.airlift.stats.CounterStat failedTasks) LocationFactory.createTaskLocation(InternalNode node, TaskId taskId) Fail a task.SqlTaskManager.getTaskInfo(TaskId taskId) com.google.common.util.concurrent.ListenableFuture<TaskInfo>SqlTaskManager.getTaskInfo(TaskId taskId, long currentVersion) TaskManager.getTaskInfo(TaskId taskId) Gets the info for the specified task.com.google.common.util.concurrent.ListenableFuture<TaskInfo>TaskManager.getTaskInfo(TaskId taskId, long currentVersion) Gets future info for the task after the state changes fromcurrent state.SqlTaskManager.getTaskInstanceId(TaskId taskId) TaskManager.getTaskInstanceId(TaskId taskId) Gets the unique instance id of a task.com.google.common.util.concurrent.ListenableFuture<BufferResult>SqlTaskManager.getTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId, long startingSequenceId, io.airlift.units.DataSize maxSize) com.google.common.util.concurrent.ListenableFuture<BufferResult>TaskManager.getTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId, long startingSequenceId, io.airlift.units.DataSize maxSize) Gets results from a task either immediately or in the future.SqlTaskManager.getTaskStatus(TaskId taskId) com.google.common.util.concurrent.ListenableFuture<TaskStatus>SqlTaskManager.getTaskStatus(TaskId taskId, long currentVersion) TaskManager.getTaskStatus(TaskId taskId) Gets the status for the specified task.com.google.common.util.concurrent.ListenableFuture<TaskStatus>TaskManager.getTaskStatus(TaskId taskId, long currentVersion) Gets future status for the task after the state changes fromcurrent state.SqlTaskManager.getTraceToken(TaskId taskId) TaskManager.getTraceToken(TaskId taskId) Return trace token for a given task (see Session#traceToken)static TaskStatusTaskStatus.initialTaskStatus(TaskId taskId, URI location, String nodeId) 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, Optional<PlanFragment> fragment, List<TaskSource> sources, OutputBuffers outputBuffers, Map<DynamicFilterId, Domain> dynamicFilterDomains) TaskManager.updateTask(Session session, TaskId taskId, Optional<PlanFragment> fragment, List<TaskSource> sources, OutputBuffers outputBuffers, Map<DynamicFilterId, Domain> dynamicFilterDomains) Updates the task plan, sources and output buffers.Method parameters in io.trino.execution with type arguments of type TaskIdModifier and TypeMethodDescriptionvoidQueryStateMachine.QueryOutputManager.updateOutputLocations(Map<TaskId, URI> newExchangeLocations, boolean noMoreExchangeLocations) voidQueryStateMachine.updateOutputLocations(Map<TaskId, URI> newExchangeLocations, boolean noMoreExchangeLocations) 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, Set<Lifespan> completedDriverGroups, List<ExecutionFailureInfo> failures, int queuedPartitionedDrivers, int runningPartitionedDrivers, boolean outputBufferOverutilized, io.airlift.units.DataSize physicalWrittenDataSize, io.airlift.units.DataSize memoryReservation, io.airlift.units.DataSize systemMemoryReservation, io.airlift.units.DataSize revocableMemoryReservation, long fullGcCount, io.airlift.units.Duration fullGcTime, long dynamicFiltersVersion, long queuedPartitionedSplitsWeight, long runningPartitionedSplitsWeight) Constructor parameters in io.trino.execution with type arguments of type TaskId -
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> systemMemoryContextSupplier, Runnable notifyStatusChanged) -
Uses of TaskId in io.trino.execution.executor
Methods in io.trino.execution.executor that return TaskIdMethods 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 TaskIdModifierConstructorDescriptionTaskHandle(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 TaskId -
Uses of TaskId in io.trino.memory
Methods in io.trino.memory with parameters of type 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 TypeMethodDescriptionvoidExchangeClient.addLocation(TaskId taskId, URI location) voidvoidvoidvoidvoidvoidvoidTaskContext.sourceTaskFailed(TaskId taskId, Throwable failure) voidDeduplicationExchangeClientBuffer.taskFailed(TaskId taskId, Throwable t) voidExchangeClientBuffer.taskFailed(TaskId taskId, Throwable t) voidStreamingExchangeClientBuffer.taskFailed(TaskId taskId, Throwable t) voidDeduplicationExchangeClientBuffer.taskFinished(TaskId taskId) voidExchangeClientBuffer.taskFinished(TaskId taskId) voidStreamingExchangeClientBuffer.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.abortResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.container.AsyncResponse asyncResponse) voidTaskResource.acknowledgeAndGetNewDynamicFilterDomains(TaskId taskId, Long currentDynamicFiltersVersion, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.container.AsyncResponse asyncResponse) voidTaskResource.acknowledgeResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId, long token) voidDynamicFilterService.addTaskDynamicFilters(TaskId taskId, Map<DynamicFilterId, Domain> newDynamicFilters) voidTaskResource.createOrUpdateTask(TaskId taskId, TaskUpdateRequest taskUpdateRequest, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.container.AsyncResponse asyncResponse) HttpRemoteTaskFactory.createRemoteTask(Session session, TaskId taskId, InternalNode node, PlanFragment fragment, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits, OutputBuffers outputBuffers, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, Set<DynamicFilterId> outboundDynamicFilterIds, boolean summarizeTaskInfo) TaskResource.deleteTask(TaskId taskId, boolean abort, javax.ws.rs.core.UriInfo uriInfo) voidTaskResource.getResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId, long token, io.airlift.units.DataSize maxSize, javax.ws.rs.container.AsyncResponse asyncResponse) voidTaskResource.getTaskInfo(TaskId taskId, Long currentVersion, io.airlift.units.Duration maxWait, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.container.AsyncResponse asyncResponse) voidTaskResource.getTaskStatus(TaskId taskId, Long currentVersion, io.airlift.units.Duration maxWait, javax.ws.rs.core.UriInfo uriInfo, javax.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, TaskId taskId, String nodeId, 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, 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, NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker, RemoteTaskStats stats, DynamicFilterService dynamicFilterService, Set<DynamicFilterId> outboundDynamicFilterIds) -
Uses of TaskId in io.trino.server.ui
Methods in io.trino.server.ui with parameters of type TaskIdModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseWorkerResource.getThreads(TaskId task, String nodeId, javax.servlet.http.HttpServletRequest servletRequest, javax.ws.rs.core.HttpHeaders httpHeaders) -
Uses of TaskId in io.trino.split
Methods in io.trino.split that return TaskIdConstructors in io.trino.split with parameters of type TaskId