Class DefaultLogicalTopology
java.lang.Object
org.apache.flink.runtime.jobgraph.topology.DefaultLogicalTopology
- All Implemented Interfaces:
LogicalTopology,BaseTopology<JobVertexID,,IntermediateDataSetID, LogicalVertex, LogicalResult> Topology<JobVertexID,IntermediateDataSetID, LogicalVertex, LogicalResult, LogicalPipelinedRegion>
Default implementation of
LogicalTopology. It is an adapter of JobGraph.-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultLogicalTopologyfromJobGraph(JobGraph jobGraph) static DefaultLogicalTopologyfromTopologicallySortedJobVertices(List<JobVertex> jobVertices) Returns all pipelined regions in this topology.getVertex(JobVertexID vertexId) Returns an iterable over all vertices, topologically sorted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.topology.Topology
getPipelinedRegionOfVertex
-
Method Details
-
fromJobGraph
-
fromTopologicallySortedJobVertices
public static DefaultLogicalTopology fromTopologicallySortedJobVertices(List<JobVertex> jobVertices) -
getVertices
Description copied from interface:BaseTopologyReturns an iterable over all vertices, topologically sorted.- Specified by:
getVerticesin interfaceBaseTopology<JobVertexID,IntermediateDataSetID, LogicalVertex, LogicalResult> - Returns:
- topologically sorted iterable over all vertices
-
getVertex
-
getAllPipelinedRegions
Description copied from interface:TopologyReturns all pipelined regions in this topology.- Specified by:
getAllPipelinedRegionsin interfaceTopology<JobVertexID,IntermediateDataSetID, LogicalVertex, LogicalResult, LogicalPipelinedRegion> - Returns:
- Iterable over pipelined regions in this topology
-