public class DefaultLogicalTopology extends Object implements LogicalTopology
LogicalTopology. It is an adapter of JobGraph.| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultLogicalTopology |
fromJobGraph(JobGraph jobGraph) |
static DefaultLogicalTopology |
fromTopologicallySortedJobVertices(List<JobVertex> jobVertices) |
Iterable<DefaultLogicalPipelinedRegion> |
getAllPipelinedRegions()
Returns all pipelined regions in this topology.
|
DefaultLogicalVertex |
getVertex(JobVertexID vertexId) |
Iterable<DefaultLogicalVertex> |
getVertices()
Returns an iterable over all vertices, topologically sorted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPipelinedRegionOfVertexpublic static DefaultLogicalTopology fromJobGraph(JobGraph jobGraph)
public static DefaultLogicalTopology fromTopologicallySortedJobVertices(List<JobVertex> jobVertices)
public Iterable<DefaultLogicalVertex> getVertices()
BaseTopologygetVertices 在接口中 BaseTopology<JobVertexID,IntermediateDataSetID,LogicalVertex,LogicalResult>public DefaultLogicalVertex getVertex(JobVertexID vertexId)
public Iterable<DefaultLogicalPipelinedRegion> getAllPipelinedRegions()
TopologygetAllPipelinedRegions 在接口中 Topology<JobVertexID,IntermediateDataSetID,LogicalVertex,LogicalResult,LogicalPipelinedRegion>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.