public interface LogicalSubgraph extends LogicalGraph
LogicalGraph used by IterativeOperator's.
A consumer of a LogicalSubgraph can create connections from the
IterativeOperator's input ports to other operators in the graph.
The subgraph is pre-configured with the EngineConfig that was used
to create the top-level graph to which the IterativeOperator was added.| Modifier and Type | Method and Description |
|---|---|
<T extends LogicalPort> |
filtered(T original,
LogicalPortOptions options)
Provides a filtered view of the original port.
|
addCompilationListener, compile, compile, getName, removeCompilationListener, run, run, setName, validate, validateadd, add, add, connectgetProperty, getProperty, setProperty, setProperty<T extends LogicalPort> T filtered(T original, LogicalPortOptions options)
LogicalPort.
For example:
//filtered contains a filtered view of the original port
RecordPort filtered= input.filtered(subgraph, new RecordPortOptions(selectedFields))
T - the type of portoriginal - the original portoptions - the port optionsCopyright © 2021 Actian Corporation. All rights reserved.