Building DataFlow Applications in Java : Compiling an Application : Using a LogicalGraphInstance
 
Share this page                  
Using a LogicalGraphInstance
The LogicalGraphInstance is the result of compiling a LogicalGraph that can be used in different ways.
The following are the other uses of LogicalGraphInstance:
Obtains the logical path names of the operators. The path names represent the levels in the operator composition of a graph. The application is the uppermost level; operators that are added directly to the graph are at the level below the application, and so on.
Graphically represents the logical graph. To do this, obtain the list of operators in the graph and their connections.
Determines the child operators created by a composite operator that is added to the logical graph. Many operators are composite operators that have no run time component. When compiling, the composite operators add other operators to the graph. You can use the LogicalGraphInstance to obtain an OperatorInstance for a specific operator and its children (if any). For the OperatorInstance class, see the OperatorInstance.getChildOperators() method in the JavaDoc documentation.
For information about using the graph instance to execute and monitor the application, see Executing an Application.