Package org.nuxeo.lib.stream.computation
Class Topology
java.lang.Object
org.nuxeo.lib.stream.computation.Topology
Represent a Directed Acyclic Graph (DAG) of computations.
- Since:
- 9.3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.jgrapht.experimental.dag.DirectedAcyclicGraph<Topology.Vertex,org.jgrapht.graph.DefaultEdge> protected final List<ComputationMetadataMapping>protected final Map<String,ComputationMetadataMapping> protected final Map<String,Supplier<Computation>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Topology.Builderbuilder()protected StringcompactPolicy(ComputationPolicy policy) protected voidgenerateDag(Set<ComputationMetadataMapping> metadataSet) protected voidgenerateMetadataMapping(Set<ComputationMetadataMapping> metadataSet) getAncestors(String name) getChildren(String name) org.jgrapht.experimental.dag.DirectedAcyclicGraph<Topology.Vertex,org.jgrapht.graph.DefaultEdge> getDag()getDescendants(String name) getMetadata(String name) getParents(String name) protected StringgetPumlIdentifier(String name) protected StringgetPumlName(Topology.Vertex vertex) getRoots()getSupplier(String name) protected Topology.VertexbooleanbooleanstreamsSet(String root) A plantuml representation of the topology.toPlantuml(Settings settings)
-
Field Details
-
metadataList
-
metadataMap
-
supplierMap
-
dag
protected final org.jgrapht.experimental.dag.DirectedAcyclicGraph<Topology.Vertex,org.jgrapht.graph.DefaultEdge> dag
-
-
Constructor Details
-
Topology
-
-
Method Details
-
builder
-
toPlantuml
A plantuml representation of the topology. -
toPlantuml
-
compactPolicy
-
getPumlName
-
getPumlIdentifier
-
generateDag
protected void generateDag(Set<ComputationMetadataMapping> metadataSet) throws org.jgrapht.experimental.dag.DirectedAcyclicGraph.CycleFoundException - Throws:
org.jgrapht.experimental.dag.DirectedAcyclicGraph.CycleFoundException
-
generateMetadataMapping
-
getMetadata
-
getSupplier
-
isSource
-
isSink
-
streamsSet
-
streamsSet
-
metadataList
-
getVertex
-
getDescendants
-
getDescendantComputationNames
-
getChildren
-
getChildrenComputationNames
-
getParents
-
getParentComputationsNames
-
getAncestorComputationNames
-
getAncestors
-
getRoots
-
getDag
public org.jgrapht.experimental.dag.DirectedAcyclicGraph<Topology.Vertex,org.jgrapht.graph.DefaultEdge> getDag()
-