Uses of Interface
io.trino.execution.RemoteTask
-
Packages that use RemoteTask Package Description io.trino.execution io.trino.execution.scheduler io.trino.server io.trino.server.remotetask -
-
Uses of RemoteTask in io.trino.execution
Methods in io.trino.execution that return RemoteTask Modifier and Type Method Description 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)Methods in io.trino.execution that return types with arguments of type RemoteTask Modifier and Type Method Description Optional<RemoteTask>SqlStage. createTask(InternalNode node, int partition, int attempt, Optional<int[]> bucketToPartition, OutputBuffers outputBuffers, com.google.common.collect.Multimap<PlanNodeId,Split> splits, com.google.common.collect.Multimap<PlanNodeId,Lifespan> noMoreSplitsForLifespan, Set<PlanNodeId> noMoreSplits)Methods in io.trino.execution with parameters of type RemoteTask Modifier and Type Method Description voidNodeTaskMap. addTask(InternalNode node, RemoteTask task) -
Uses of RemoteTask in io.trino.execution.scheduler
Methods in io.trino.execution.scheduler that return types with arguments of type RemoteTask Modifier and Type Method Description List<RemoteTask>PipelinedStageExecution. getAllTasks()Set<RemoteTask>ScheduleResult. getNewTasks()Optional<RemoteTask>FixedCountScheduler.TaskScheduler. scheduleTask(InternalNode node, int partition)Optional<RemoteTask>PipelinedStageExecution. scheduleTask(InternalNode node, int partition, com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits, com.google.common.collect.Multimap<PlanNodeId,Lifespan> noMoreSplitsForLifespan)Methods in io.trino.execution.scheduler with parameters of type RemoteTask Modifier and Type Method Description voidTaskLifecycleListener. taskCreated(PlanFragmentId fragmentId, RemoteTask task)Method parameters in io.trino.execution.scheduler with type arguments of type RemoteTask Modifier and Type Method Description SplitPlacementResultNodeSelector. computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks)Identifies the nodes for running the specified splits.SplitPlacementResultNodeSelector. computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks, BucketNodeMap bucketNodeMap)Identifies the nodes for running the specified splits based on a precomputed fixed partitioning.SplitPlacementResultTopologyAwareNodeSelector. computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks)SplitPlacementResultTopologyAwareNodeSelector. computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks, BucketNodeMap bucketNodeMap)SplitPlacementResultUniformNodeSelector. computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks)SplitPlacementResultUniformNodeSelector. computeAssignments(Set<Split> splits, List<RemoteTask> existingTasks, BucketNodeMap bucketNodeMap)static SourceSchedulerSourcePartitionedScheduler. newSourcePartitionedSchedulerAsSourceScheduler(PipelinedStageExecution stageExecution, PlanNodeId partitionedNode, SplitSource splitSource, SplitPlacementPolicy splitPlacementPolicy, int splitBatchSize, boolean groupedExecution, 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 maxPendingSplitsWeightPerTask, 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 RemoteTask Constructor Description BucketedSplitPlacementPolicy(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.server
Methods in io.trino.server that return RemoteTask Modifier and Type Method Description 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) -
Uses of RemoteTask in io.trino.server.remotetask
Classes in io.trino.server.remotetask that implement RemoteTask Modifier and Type Class Description classHttpRemoteTask
-