Uses of Interface
io.trino.execution.RemoteTask
Packages that use RemoteTask
Package
Description
-
Uses of RemoteTask in io.trino.execution
Methods in io.trino.execution that return RemoteTaskModifier and TypeMethodDescriptionMemoryTrackingRemoteTaskFactory.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) Methods in io.trino.execution that return types with arguments of type RemoteTaskModifier and TypeMethodDescriptionSqlStage.createTask(InternalNode node, int partition, int attempt, Optional<int[]> bucketToPartition, OutputBuffers outputBuffers, com.google.common.collect.Multimap<PlanNodeId, Split> splits, Set<PlanNodeId> noMoreSplits, Optional<io.airlift.units.DataSize> estimatedMemory, boolean speculative) Methods in io.trino.execution with parameters of type RemoteTask -
Uses of RemoteTask in io.trino.execution.scheduler
Methods in io.trino.execution.scheduler that return types with arguments of type RemoteTaskModifier and TypeMethodDescriptionPipelinedStageExecution.getAllTasks()StageExecution.getAllTasks()ScheduleResult.getNewTasks()FixedCountScheduler.TaskScheduler.scheduleTask(InternalNode node, int partition) PipelinedStageExecution.scheduleTask(InternalNode node, int partition, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits) StageExecution.scheduleTask(InternalNode node, int partition, com.google.common.collect.Multimap<PlanNodeId, Split> initialSplits) Methods in io.trino.execution.scheduler with parameters of type RemoteTaskModifier and TypeMethodDescriptionvoidTaskLifecycleListener.taskCreated(PlanFragmentId fragmentId, RemoteTask task) Method parameters in io.trino.execution.scheduler with type arguments of type RemoteTaskModifier and TypeMethodDescriptionNodeSelector.computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks) Identifies the nodes for running the specified splits.NodeSelector.computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks, BucketNodeMap bucketNodeMap) Identifies the nodes for running the specified splits based on a precomputed fixed partitioning.TopologyAwareNodeSelector.computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks) TopologyAwareNodeSelector.computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks, BucketNodeMap bucketNodeMap) UniformNodeSelector.computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks) UniformNodeSelector.computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks, BucketNodeMap bucketNodeMap) static SourceSchedulerSourcePartitionedScheduler.newSourcePartitionedSchedulerAsSourceScheduler(StageExecution stageExecution, PlanNodeId partitionedNode, SplitSource splitSource, SplitPlacementPolicy splitPlacementPolicy, int splitBatchSize, DynamicFilterService dynamicFilterService, TableExecuteContextManager tableExecuteContextManager, BooleanSupplier anySourceTaskBlocked, PartitionIdAllocator partitionIdAllocator, Map<InternalNode, RemoteTask> scheduledTasks) Obtains aSourceSchedulersuitable for use in FixedSourcePartitionedScheduler.static SplitPlacementResultNodeScheduler.selectDistributionNodes(NodeMap nodeMap, NodeTaskMap nodeTaskMap, long maxSplitsWeightPerNode, long minPendingSplitsWeightPerTask, int maxUnacknowledgedSplitsPerTask, Set<Split> splits, List<RemoteTask> existingTasks, BucketNodeMap bucketNodeMap) static com.google.common.util.concurrent.ListenableFuture<Void> NodeScheduler.toWhenHasSplitQueueSpaceFuture(List<RemoteTask> existingTasks, long weightSpaceThreshold) static com.google.common.util.concurrent.ListenableFuture<Void> NodeScheduler.toWhenHasSplitQueueSpaceFuture(Set<InternalNode> blockedNodes, List<RemoteTask> existingTasks, long weightSpaceThreshold) Constructor parameters in io.trino.execution.scheduler with type arguments of type RemoteTaskModifierConstructorDescriptionBucketedSplitPlacementPolicy(NodeSelector nodeSelector, List<InternalNode> allNodes, BucketNodeMap bucketNodeMap, Supplier<? extends List<RemoteTask>> remoteTasks) DynamicSplitPlacementPolicy(NodeSelector nodeSelector, Supplier<? extends List<RemoteTask>> remoteTasks) NodeAssignmentStats(NodeTaskMap nodeTaskMap, NodeMap nodeMap, List<RemoteTask> existingTasks) ScheduleResult(boolean finished, Iterable<? extends RemoteTask> newTasks, int splitsScheduled) ScheduleResult(boolean finished, Iterable<? extends RemoteTask> newTasks, com.google.common.util.concurrent.ListenableFuture<Void> blocked, ScheduleResult.BlockedReason blockedReason, int splitsScheduled) -
Uses of RemoteTask in io.trino.execution.scheduler.faulttolerant
Methods in io.trino.execution.scheduler.faulttolerant that return types with arguments of type RemoteTaskModifier and TypeMethodDescriptionEventDrivenFaultTolerantQueryScheduler.StageExecution.schedule(int partitionId, ExchangeSinkInstanceHandle exchangeSinkInstanceHandle, int attempt, NodeAllocator.NodeLease nodeLease, boolean speculative) -
Uses of RemoteTask in io.trino.server
Methods in io.trino.server that return RemoteTaskModifier and TypeMethodDescriptionHttpRemoteTaskFactory.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) -
Uses of RemoteTask in io.trino.server.remotetask
Classes in io.trino.server.remotetask that implement RemoteTask