public interface SchedulingTopology<V extends SchedulingExecutionVertex<V,R>,R extends SchedulingResultPartition<V,R>> extends Topology<ExecutionVertexID,IntermediateResultPartitionID,V,R>
SchedulingExecutionVertex.| Modifier and Type | Method and Description |
|---|---|
Optional<R> |
getResultPartition(IntermediateResultPartitionID intermediateResultPartitionId)
Looks up the
SchedulingResultPartition for the given IntermediateResultPartitionID. |
default R |
getResultPartitionOrThrow(IntermediateResultPartitionID intermediateResultPartitionId)
Looks up the
SchedulingResultPartition for the given IntermediateResultPartitionID. |
Optional<V> |
getVertex(ExecutionVertexID executionVertexId)
Looks up the
SchedulingExecutionVertex for the given ExecutionVertexID. |
default V |
getVertexOrThrow(ExecutionVertexID executionVertexId)
Looks up the
SchedulingExecutionVertex for the given ExecutionVertexID. |
containsCoLocationConstraints, getVerticesOptional<V> getVertex(ExecutionVertexID executionVertexId)
SchedulingExecutionVertex for the given ExecutionVertexID.executionVertexId - identifying the respective scheduling vertexdefault V getVertexOrThrow(ExecutionVertexID executionVertexId)
SchedulingExecutionVertex for the given ExecutionVertexID.executionVertexId - identifying the respective scheduling vertexIllegalArgumentException - If the vertex does not existOptional<R> getResultPartition(IntermediateResultPartitionID intermediateResultPartitionId)
SchedulingResultPartition for the given IntermediateResultPartitionID.intermediateResultPartitionId - identifying the respective scheduling result partitiondefault R getResultPartitionOrThrow(IntermediateResultPartitionID intermediateResultPartitionId)
SchedulingResultPartition for the given IntermediateResultPartitionID.intermediateResultPartitionId - identifying the respective scheduling result partitionIllegalArgumentException - If the partition does not existCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.