|
|||||||||
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 String |
DOT_FILE_PATH
Property denoting the path to write all stream graph dot files. |
static 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 LinkedList<List<Duct>> |
asPathList(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)
|
Collection<Duct> |
getAllDucts()
|
Collection<Duct> |
getHeads()
|
protected Object |
getProperty(String name)
|
org.jgrapht.DirectedGraph |
getReversedGraph()
|
org.jgrapht.traverse.TopologicalOrderIterator<Duct,Integer> |
getReversedTopologicalOrderIterator()
|
Collection<Duct> |
getTails()
|
org.jgrapht.traverse.TopologicalOrderIterator<Duct,Integer> |
getTopologicalOrderIterator()
|
int |
ordinalBetween(Duct lhs,
Duct rhs)
|
void |
prepare()
Calls prepare starting at the tail and working backwards |
void |
printGraph(String filename)
|
void |
printGraph(String id,
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 String ERROR_DOT_FILE_NAME
public static final String DOT_FILE_PATH
Constructor Detail |
---|
public StreamGraph()
Method Detail |
---|
protected Object getProperty(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 Collection<Duct> getHeads()
public 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
- of type Duct
public int ordinalBetween(Duct lhs, Duct rhs)
public static LinkedList<List<Duct>> asPathList(List<org.jgrapht.GraphPath<Duct,DuctGraph.Ordinal>> paths)
public org.jgrapht.traverse.TopologicalOrderIterator<Duct,Integer> getTopologicalOrderIterator()
public org.jgrapht.traverse.TopologicalOrderIterator<Duct,Integer> getReversedTopologicalOrderIterator()
public org.jgrapht.DirectedGraph getReversedGraph()
public Collection<Duct> getAllDucts()
public void printGraphError()
public void printGraph(String id, String classifier, int discriminator)
public void printGraph(String filename)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |