public class DefaultLogicalTopology extends Object implements LogicalTopology<DefaultLogicalVertex,DefaultLogicalResult>
LogicalTopology
. It is an adapter of JobGraph
.Constructor and Description |
---|
DefaultLogicalTopology(JobGraph jobGraph) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsCoLocationConstraints()
Returns whether the topology contains co-location constraints.
|
Set<DefaultLogicalPipelinedRegion> |
getLogicalPipelinedRegions() |
Iterable<DefaultLogicalVertex> |
getVertices()
Returns an iterable over all vertices, topologically sorted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllPipelinedRegions, getPipelinedRegionOfVertex
public DefaultLogicalTopology(JobGraph jobGraph)
public Iterable<DefaultLogicalVertex> getVertices()
BaseTopology
getVertices
in interface BaseTopology<JobVertexID,IntermediateDataSetID,DefaultLogicalVertex,DefaultLogicalResult>
public boolean containsCoLocationConstraints()
BaseTopology
containsCoLocationConstraints
in interface BaseTopology<JobVertexID,IntermediateDataSetID,DefaultLogicalVertex,DefaultLogicalResult>
public Set<DefaultLogicalPipelinedRegion> getLogicalPipelinedRegions()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.