public class FixedSourcePartitionedScheduler extends Object implements StageScheduler
| Modifier and Type | Class and Description |
|---|---|
static class |
FixedSourcePartitionedScheduler.BucketedSplitPlacementPolicy |
| Constructor and Description |
|---|
FixedSourcePartitionedScheduler(SqlStageExecution stage,
Map<PlanNodeId,SplitSource> splitSources,
StageExecutionDescriptor stageExecutionDescriptor,
List<PlanNodeId> schedulingOrder,
List<InternalNode> nodes,
BucketNodeMap bucketNodeMap,
int splitBatchSize,
OptionalInt concurrentLifespansPerTask,
NodeSelector nodeSelector,
List<ConnectorPartitionHandle> partitionHandles) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ScheduleResult |
schedule()
Schedules as much work as possible without blocking.
|
public FixedSourcePartitionedScheduler(SqlStageExecution stage, Map<PlanNodeId,SplitSource> splitSources, StageExecutionDescriptor stageExecutionDescriptor, List<PlanNodeId> schedulingOrder, List<InternalNode> nodes, BucketNodeMap bucketNodeMap, int splitBatchSize, OptionalInt concurrentLifespansPerTask, NodeSelector nodeSelector, List<ConnectorPartitionHandle> partitionHandles)
public ScheduleResult schedule()
StageSchedulerschedule in interface StageSchedulerpublic void close()
close in interface StageSchedulerclose in interface Closeableclose in interface AutoCloseableCopyright © 2012–2019. All rights reserved.