java.lang.Object
com.pervasive.datarush.graphs.LogicalGraphFactory
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 Summary
Modifier and TypeMethodDescriptionstatic LogicalGraphCreates an empty logical graph.static LogicalGraphnewLogicalGraph(OperatorSettings settings) Creates an empty logical graph with specifiedOperatorSettings.static LogicalGraphnewLogicalGraph(OperatorSettings settings, EngineConfig defaultConfig) Creates an empty logical graph with specifiedOperatorSettingsand defaultEngineConfig.static LogicalGraphnewLogicalGraph(String name) Creates an empty logical graph with a specified name.
-
Method Details
-
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
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
-
newLogicalGraph
Creates an empty logical graph with specifiedOperatorSettings. For advanced usage only; clients should generally prefernewLogicalGraph()ornewLogicalGraph(String).- Parameters:
settings- the operator settings- Returns:
- a new logical graph ready for defining contained operators
- See Also:
-
newLogicalGraph
Creates an empty logical graph with specifiedOperatorSettingsand defaultEngineConfig. For advanced usage only; clients should generally prefernewLogicalGraph()ornewLogicalGraph(String).- Parameters:
settings- the operator settingsdefaultConfig- theEngineConfigthat will be used when the graph is compiled or run without specifying an overridingEngineConfig- Returns:
- a new logical graph ready for defining contained operators
- See Also:
-