Class LogicalGraphFactory


  • public final class LogicalGraphFactory
    extends Object
    Public factory for creating initially empty logical graphs. After obtaining a graph, users define the processing of the graph by adding LogicalOperator's to it.
    • Method Detail

      • newLogicalGraph

        public static LogicalGraph newLogicalGraph()
        Creates an empty logical graph. The graph is assigned a default name of "root".
        Returns:
        a new logical graph ready for defining contained operators
      • newLogicalGraph

        public static LogicalGraph newLogicalGraph​(String name)
        Creates an empty logical graph with a specified name.
        Parameters:
        name - name of the graph, not necessarily unique
        Returns:
        a new logical graph ready for defining contained operators