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<Collection<ExecutionVertexID>> |
getConsumedResultPartitionsProducers(ExecutionVertexID executionVertexId)
Get the producers of the result partitions consumed by an execution.
|
Optional<CompletableFuture<TaskManagerLocation>> |
getTaskManagerLocation(ExecutionVertexID executionVertexId)
Get the task manager location future for an execution.
|
public ExecutionGraphToInputsLocationsRetrieverAdapter(ExecutionGraph executionGraph)
public Collection<Collection<ExecutionVertexID>> getConsumedResultPartitionsProducers(ExecutionVertexID executionVertexId)
InputsLocationsRetrievergetConsumedResultPartitionsProducers in interface InputsLocationsRetrieverexecutionVertexId - identifies the executionpublic Optional<CompletableFuture<TaskManagerLocation>> getTaskManagerLocation(ExecutionVertexID executionVertexId)
InputsLocationsRetrievergetTaskManagerLocation in interface InputsLocationsRetrieverexecutionVertexId - identifying the executionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.