-
- All Superinterfaces:
LogicalGraph,OperatorComposable,PropertyValued
public interface LogicalSubgraph extends LogicalGraph
Extension ofLogicalGraphused byIterativeOperator's. A consumer of aLogicalSubgraphcan create connections from theIterativeOperator's input ports to other operators in the graph. The subgraph is pre-configured with theEngineConfigthat was used to create the top-level graph to which theIterativeOperatorwas added.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends LogicalPort>
Tfiltered(T original, LogicalPortOptions options)Provides a filtered view of the original port.-
Methods inherited from interface com.pervasive.datarush.graphs.LogicalGraph
addCompilationListener, compile, compile, getName, removeCompilationListener, run, run, setName, validate, validate
-
Methods inherited from interface com.pervasive.datarush.operators.OperatorComposable
add, add, add, connect
-
Methods inherited from interface com.pervasive.datarush.graphs.PropertyValued
getProperty, getProperty, setProperty, setProperty
-
-
-
-
Method Detail
-
filtered
<T extends LogicalPort> T filtered(T original, LogicalPortOptions options)
Provides a filtered view of the original port. Note that operators should generally not call this method directly. Rather they should use one of the type-safe/convenience methods on the various subclasses ofLogicalPort. For example://filtered contains a filtered view of the original portRecordPortfiltered= input.filtered(subgraph, newRecordPortOptions(selectedFields))- Type Parameters:
T- the type of port- Parameters:
original- the original portoptions- the port options- Returns:
- a filtered view of the original port
-
-