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)
InputsLocationsRetriever
getConsumedResultPartitionsProducers
in interface InputsLocationsRetriever
executionVertexId
- identifies the executionpublic Optional<CompletableFuture<TaskManagerLocation>> getTaskManagerLocation(ExecutionVertexID executionVertexId)
InputsLocationsRetriever
getTaskManagerLocation
in interface InputsLocationsRetriever
executionVertexId
- identifying the executionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.