Package io.trino.execution.scheduler
Class FixedSourcePartitionedScheduler
java.lang.Object
io.trino.execution.scheduler.FixedSourcePartitionedScheduler
- All Implemented Interfaces:
StageScheduler,Closeable,AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionFixedSourcePartitionedScheduler(StageExecution stageExecution, Map<PlanNodeId, SplitSource> splitSources, List<PlanNodeId> schedulingOrder, List<InternalNode> nodes, BucketNodeMap bucketNodeMap, int splitBatchSize, NodeSelector nodeSelector, DynamicFilterService dynamicFilterService, TableExecuteContextManager tableExecuteContextManager) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.execution.scheduler.StageScheduler
start
-
Constructor Details
-
FixedSourcePartitionedScheduler
public FixedSourcePartitionedScheduler(StageExecution stageExecution, Map<PlanNodeId, SplitSource> splitSources, List<PlanNodeId> schedulingOrder, List<InternalNode> nodes, BucketNodeMap bucketNodeMap, int splitBatchSize, NodeSelector nodeSelector, DynamicFilterService dynamicFilterService, TableExecuteContextManager tableExecuteContextManager)
-
-
Method Details
-
schedule
Description copied from interface:StageSchedulerSchedules as much work as possible without blocking. The schedule results is a hint to the query scheduler if and when the stage scheduler should be invoked again. It is important to note that this is only a hint and the query scheduler may call the schedule method at any time.- Specified by:
schedulein interfaceStageScheduler
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceStageScheduler
-