public class DefaultLogicalTopology extends Object implements LogicalTopology
LogicalTopology
. It is an adapter of JobGraph
.Modifier and Type | Method and Description |
---|---|
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, wait
getPipelinedRegionOfVertex
public static DefaultLogicalTopology fromJobGraph(JobGraph jobGraph)
public static DefaultLogicalTopology fromTopologicallySortedJobVertices(List<JobVertex> jobVertices)
public Iterable<DefaultLogicalVertex> getVertices()
BaseTopology
getVertices
in interface BaseTopology<JobVertexID,IntermediateDataSetID,LogicalVertex,LogicalResult>
public DefaultLogicalVertex getVertex(JobVertexID vertexId)
public Iterable<DefaultLogicalPipelinedRegion> getAllPipelinedRegions()
Topology
getAllPipelinedRegions
in interface Topology<JobVertexID,IntermediateDataSetID,LogicalVertex,LogicalResult,LogicalPipelinedRegion>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.