|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcascading.flow.stream.StreamGraph
public class StreamGraph
Class StreamGraph is the operation pipeline used during processing. This an internal use only class.
Under some circumstances it may make sense to see the actual graph plan. To do so, enable one or both dot file properties,ERROR_DOT_FILE_NAME
and DOT_FILE_PATH
.
Field Summary | |
---|---|
static java.lang.String |
DOT_FILE_PATH
Property denoting the path to write all stream graph dot files. |
static java.lang.String |
ERROR_DOT_FILE_NAME
Property denoting the path and filename to write the failed stream graph dot file. |
Constructor Summary | |
---|---|
StreamGraph()
|
Method Summary | |
---|---|
void |
addHead(Duct head)
|
void |
addPath(Duct lhs,
Duct rhs)
|
void |
addPath(Duct lhs,
int ordinal,
Duct rhs)
|
void |
addTail(Duct tail)
|
static java.util.LinkedList<java.util.List<Duct>> |
asPathList(java.util.List<org.jgrapht.GraphPath<Duct,DuctGraph.Ordinal>> paths)
|
void |
bind()
|
void |
cleanup()
Calls cleanup starting at the head and working forwards |
int |
countAllEventingPathsTo(Duct duct)
Returns all free paths to the current duct, usually a GroupGate. |
protected Duct |
createFork(Duct[] allNext)
|
Duct |
createNextFor(Duct current)
|
protected Duct |
createOpenReducingWindow(Duct next)
|
protected Duct |
createOpenWindow(Duct next)
|
Duct[] |
findAllNextFor(Duct current)
|
Duct[] |
findAllPreviousFor(Duct current)
|
java.util.Collection<Duct> |
getAllDucts()
|
java.util.Collection<Duct> |
getHeads()
|
protected java.lang.Object |
getProperty(java.lang.String name)
|
org.jgrapht.DirectedGraph |
getReversedGraph()
|
org.jgrapht.traverse.TopologicalOrderIterator<Duct,java.lang.Integer> |
getReversedTopologicalOrderIterator()
|
java.util.Collection<Duct> |
getTails()
|
org.jgrapht.traverse.TopologicalOrderIterator<Duct,java.lang.Integer> |
getTopologicalOrderIterator()
|
int |
ordinalBetween(Duct lhs,
Duct rhs)
|
void |
prepare()
Calls prepare starting at the tail and working backwards |
void |
printGraph(java.lang.String filename)
|
void |
printGraph(java.lang.String id,
java.lang.String classifier,
int discriminator)
|
void |
printGraphError()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ERROR_DOT_FILE_NAME
public static final java.lang.String DOT_FILE_PATH
Constructor Detail |
---|
public StreamGraph()
Method Detail |
---|
protected java.lang.Object getProperty(java.lang.String name)
public void addHead(Duct head)
public void addTail(Duct tail)
public void addPath(Duct lhs, Duct rhs)
public void addPath(Duct lhs, int ordinal, Duct rhs)
public void bind()
public void prepare()
public void cleanup()
public java.util.Collection<Duct> getHeads()
public java.util.Collection<Duct> getTails()
public Duct[] findAllNextFor(Duct current)
public Duct[] findAllPreviousFor(Duct current)
public Duct createNextFor(Duct current)
protected Duct createOpenWindow(Duct next)
protected Duct createOpenReducingWindow(Duct next)
protected Duct createFork(Duct[] allNext)
public int countAllEventingPathsTo(Duct duct)
duct
-
public int ordinalBetween(Duct lhs, Duct rhs)
public static java.util.LinkedList<java.util.List<Duct>> asPathList(java.util.List<org.jgrapht.GraphPath<Duct,DuctGraph.Ordinal>> paths)
public org.jgrapht.traverse.TopologicalOrderIterator<Duct,java.lang.Integer> getTopologicalOrderIterator()
public org.jgrapht.traverse.TopologicalOrderIterator<Duct,java.lang.Integer> getReversedTopologicalOrderIterator()
public org.jgrapht.DirectedGraph getReversedGraph()
public java.util.Collection<Duct> getAllDucts()
public void printGraphError()
public void printGraph(java.lang.String id, java.lang.String classifier, int discriminator)
public void printGraph(java.lang.String filename)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |