public class ExecutionGraphToInputsLocationsRetrieverAdapter extends Object implements InputsLocationsRetriever
InputsLocationsRetriever based on the ExecutionGraph.| Constructor and Description |
|---|
ExecutionGraphToInputsLocationsRetrieverAdapter(ExecutionGraph executionGraph) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ConsumedPartitionGroup> |
getConsumedPartitionGroups(ExecutionVertexID executionVertexId)
Get the consumed result partition groups of an execution vertex.
|
Collection<ExecutionVertexID> |
getProducersOfConsumedPartitionGroup(ConsumedPartitionGroup consumedPartitionGroup)
Get the producer execution vertices of a consumed result partition group.
|
Optional<CompletableFuture<TaskManagerLocation>> |
getTaskManagerLocation(ExecutionVertexID executionVertexId)
Get the task manager location future for an execution vertex.
|
public ExecutionGraphToInputsLocationsRetrieverAdapter(ExecutionGraph executionGraph)
public Collection<ConsumedPartitionGroup> getConsumedPartitionGroups(ExecutionVertexID executionVertexId)
InputsLocationsRetrievergetConsumedPartitionGroups in interface InputsLocationsRetrieverexecutionVertexId - identifies the execution vertexpublic Collection<ExecutionVertexID> getProducersOfConsumedPartitionGroup(ConsumedPartitionGroup consumedPartitionGroup)
InputsLocationsRetrievergetProducersOfConsumedPartitionGroup in interface InputsLocationsRetrieverconsumedPartitionGroup - the consumed result partition grouppublic Optional<CompletableFuture<TaskManagerLocation>> getTaskManagerLocation(ExecutionVertexID executionVertexId)
InputsLocationsRetrievergetTaskManagerLocation in interface InputsLocationsRetrieverexecutionVertexId - identifying the execution vertexCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.