| Package | Description |
|---|---|
| io.prestosql.execution | |
| io.prestosql.execution.scheduler | |
| io.prestosql.server | |
| io.prestosql.server.remotetask |
| Modifier and Type | Method and Description |
|---|---|
RemoteTask |
RemoteTaskFactory.createRemoteTask(Session session,
TaskId taskId,
InternalNode node,
PlanFragment fragment,
com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits,
OptionalInt totalPartitions,
OutputBuffers outputBuffers,
NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker,
boolean summarizeTaskInfo) |
RemoteTask |
MemoryTrackingRemoteTaskFactory.createRemoteTask(Session session,
TaskId taskId,
InternalNode node,
PlanFragment fragment,
com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits,
OptionalInt totalPartitions,
OutputBuffers outputBuffers,
NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker,
boolean summarizeTaskInfo) |
| Modifier and Type | Method and Description |
|---|---|
List<RemoteTask> |
SqlStageExecution.getAllTasks() |
Set<RemoteTask> |
SqlStageExecution.scheduleSplits(InternalNode node,
com.google.common.collect.Multimap<PlanNodeId,Split> splits,
com.google.common.collect.Multimap<PlanNodeId,Lifespan> noMoreSplitsNotification) |
Optional<RemoteTask> |
SqlStageExecution.scheduleTask(InternalNode node,
int partition,
OptionalInt totalPartitions) |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeTaskMap.addTask(InternalNode node,
RemoteTask task) |
| Modifier and Type | Method and Description |
|---|---|
void |
SqlStageExecution.addExchangeLocations(PlanFragmentId fragmentId,
Set<RemoteTask> sourceTasks,
boolean noMoreExchangeLocations) |
| Modifier and Type | Method and Description |
|---|---|
Set<RemoteTask> |
ScheduleResult.getNewTasks() |
Optional<RemoteTask> |
FixedCountScheduler.TaskScheduler.scheduleTask(InternalNode node,
int partition,
OptionalInt totalPartitions) |
| Modifier and Type | Method and Description |
|---|---|
SplitPlacementResult |
TopologyAwareNodeSelector.computeAssignments(Set<Split> splits,
List<RemoteTask> existingTasks) |
SplitPlacementResult |
SimpleNodeSelector.computeAssignments(Set<Split> splits,
List<RemoteTask> existingTasks) |
SplitPlacementResult |
NodeSelector.computeAssignments(Set<Split> splits,
List<RemoteTask> existingTasks)
Identifies the nodes for running the specified splits.
|
SplitPlacementResult |
TopologyAwareNodeSelector.computeAssignments(Set<Split> splits,
List<RemoteTask> existingTasks,
BucketNodeMap bucketNodeMap) |
SplitPlacementResult |
SimpleNodeSelector.computeAssignments(Set<Split> splits,
List<RemoteTask> existingTasks,
BucketNodeMap bucketNodeMap) |
SplitPlacementResult |
NodeSelector.computeAssignments(Set<Split> splits,
List<RemoteTask> existingTasks,
BucketNodeMap bucketNodeMap)
Identifies the nodes for running the specified splits based on a precomputed fixed partitioning.
|
static SplitPlacementResult |
NodeScheduler.selectDistributionNodes(NodeMap nodeMap,
NodeTaskMap nodeTaskMap,
int maxSplitsPerNode,
int maxPendingSplitsPerTask,
Set<Split> splits,
List<RemoteTask> existingTasks,
BucketNodeMap bucketNodeMap) |
static com.google.common.util.concurrent.ListenableFuture<?> |
NodeScheduler.toWhenHasSplitQueueSpaceFuture(List<RemoteTask> existingTasks,
int spaceThreshold) |
static com.google.common.util.concurrent.ListenableFuture<?> |
NodeScheduler.toWhenHasSplitQueueSpaceFuture(Set<InternalNode> blockedNodes,
List<RemoteTask> existingTasks,
int spaceThreshold) |
| Constructor and 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<?> blocked,
ScheduleResult.BlockedReason blockedReason,
int splitsScheduled) |
| Modifier and Type | Method and Description |
|---|---|
RemoteTask |
HttpRemoteTaskFactory.createRemoteTask(Session session,
TaskId taskId,
InternalNode node,
PlanFragment fragment,
com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits,
OptionalInt totalPartitions,
OutputBuffers outputBuffers,
NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker,
boolean summarizeTaskInfo) |
| Modifier and Type | Class and Description |
|---|---|
class |
HttpRemoteTask |
Copyright © 2012–2019. All rights reserved.