Uses of Class
io.trino.execution.TaskId
-
-
Uses of TaskId in io.trino.event
Methods in io.trino.event with parameters of type TaskId Modifier and Type Method Description voidSplitMonitor. 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 TaskId Modifier and Type Method Description TaskIdRemoteTask. getTaskId()TaskIdSqlTask. getTaskId()TaskIdSqlTaskExecution. getTaskId()TaskIdTaskStateMachine. getTaskId()TaskIdTaskStatus. getTaskId()static TaskIdTaskId. valueOf(String taskId)Methods in io.trino.execution that return types with arguments of type TaskId Modifier and Type Method Description Map<TaskId,URI>QueryExecution.QueryOutputInfo. getBufferLocations()Methods in io.trino.execution with parameters of type TaskId Modifier and Type Method Description TaskInfoSqlTaskManager. abortTask(TaskId taskId)TaskInfoTaskManager. abortTask(TaskId taskId)Aborts a task.TaskInfoSqlTaskManager. abortTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId)TaskInfoTaskManager. abortTaskResults(TaskId taskId, OutputBuffers.OutputBufferId bufferId)Aborts a result buffer for a task.DynamicFiltersCollector.VersionedDynamicFilterDomainsSqlTaskManager. acknowledgeAndGetNewDynamicFilterDomains(TaskId taskId, long currentDynamicFiltersVersion)DynamicFiltersCollector.VersionedDynamicFilterDomainsTaskManager. 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.TaskInfoSqlTaskManager. cancelTask(TaskId taskId)TaskInfoTaskManager. cancelTask(TaskId taskId)Cancels a task.static TaskInfoTaskInfo. createInitialTask(TaskId taskId, URI location, String nodeId, List<BufferInfo> bufferStates, TaskStats taskStats)URILocationFactory. createLocalTaskLocation(TaskId taskId)NodeTaskMap.PartitionedSplitCountTrackerNodeTaskMap. createPartitionedSplitCountTracker(InternalNode node, TaskId taskId)RemoteTaskMemoryTrackingRemoteTaskFactory. 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)RemoteTaskRemoteTaskFactory. 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)URILocationFactory. createTaskLocation(InternalNode node, TaskId taskId)TaskInfoSqlTaskManager. failTask(TaskId taskId, Throwable failure)TaskInfoTaskManager. failTask(TaskId taskId, Throwable failure)Fail a task.TaskInfoSqlTaskManager. getTaskInfo(TaskId taskId)com.google.common.util.concurrent.ListenableFuture<TaskInfo>SqlTaskManager. getTaskInfo(TaskId taskId, long currentVersion)TaskInfoTaskManager. 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.StringSqlTaskManager. getTaskInstanceId(TaskId taskId)StringTaskManager. 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.TaskStatusSqlTaskManager. getTaskStatus(TaskId taskId)com.google.common.util.concurrent.ListenableFuture<TaskStatus>SqlTaskManager. getTaskStatus(TaskId taskId, long currentVersion)TaskStatusTaskManager. 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.Optional<String>SqlTaskManager. getTraceToken(TaskId taskId)Optional<String>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)TaskInfoSqlTaskManager. updateTask(Session session, TaskId taskId, Optional<PlanFragment> fragment, List<TaskSource> sources, OutputBuffers outputBuffers, Map<DynamicFilterId,Domain> dynamicFilterDomains)TaskInfoTaskManager. 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 TaskId Modifier and Type Method Description voidQueryStateMachine.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 TaskId Constructor Description TaskStateMachine(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 Constructor Description QueryOutputInfo(List<String> columnNames, List<Type> columnTypes, Map<TaskId,URI> bufferLocations, boolean noMoreBufferLocations) -
Uses of TaskId in io.trino.execution.buffer
Constructors in io.trino.execution.buffer with parameters of type TaskId Constructor Description LazyOutputBuffer(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 TaskId Modifier and Type Method Description TaskIdTaskHandle. getTaskId()Methods in io.trino.execution.executor with parameters of type TaskId Modifier and Type Method Description TaskHandleTaskExecutor. 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 Constructor Description TaskHandle(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 Modifier and Type Method Description voidPipelinedStageExecution. failTask(TaskId taskId, Throwable failureCause) -
Uses of TaskId in io.trino.memory
Methods in io.trino.memory with parameters of type TaskId Modifier and Type Method Description TaskContextQueryContext. getTaskContextByTaskId(TaskId taskId) -
Uses of TaskId in io.trino.operator
Methods in io.trino.operator that return TaskId Modifier and Type Method Description TaskIdHttpPageBufferClient. getRemoteTaskId()TaskIdDriverContext. getTaskId()TaskIdPipelineContext. getTaskId()TaskIdProcessorContext. getTaskId()TaskIdTaskContext. getTaskId()Methods in io.trino.operator with parameters of type TaskId Modifier and Type Method Description voidExchangeClient. addLocation(TaskId taskId, URI location)voidDeduplicationExchangeClientBuffer. addPages(TaskId taskId, List<SerializedPage> pages)voidExchangeClientBuffer. addPages(TaskId taskId, List<SerializedPage> pages)voidStreamingExchangeClientBuffer. addPages(TaskId taskId, List<SerializedPage> pages)voidDeduplicationExchangeClientBuffer. addTask(TaskId taskId)voidExchangeClientBuffer. addTask(TaskId taskId)voidStreamingExchangeClientBuffer. addTask(TaskId taskId)voidTaskContext. 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 TaskId Constructor Description 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, 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 TaskId Modifier and Type Method Description voidTaskResource. 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)RemoteTaskHttpRemoteTaskFactory. 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)TaskInfoTaskResource. 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 TaskId Modifier and Type Method Description TaskIdHttpRemoteTask. getTaskId()Methods in io.trino.server.remotetask with parameters of type TaskId Modifier and Type Method Description URIHttpLocationFactory. createLocalTaskLocation(TaskId taskId)URIHttpLocationFactory. createTaskLocation(InternalNode node, TaskId taskId)Constructors in io.trino.server.remotetask with parameters of type TaskId Constructor Description HttpRemoteTask(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 TaskId Modifier and Type Method Description javax.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 TaskId Modifier and Type Method Description TaskIdRemoteSplit. getTaskId()Constructors in io.trino.split with parameters of type TaskId Constructor Description RemoteSplit(TaskId taskId, URI location)
-