public interface OperatorComposable
Modifier and Type | Method and Description |
---|---|
<O extends LogicalOperator> |
add(O op)
Add a LogicalOperator to this graph, using the short class name as the name
of the operator.
|
<O extends LogicalOperator> |
add(O op,
OperatorSettings settings)
Add a LogicalOperator to this graph, specifying advanced operator settings.
|
<O extends LogicalOperator> |
add(O op,
String name)
Add a LogicalOperator to this graph, specifying a name of the operator.
|
<P extends LogicalPort> |
connect(P from,
P to)
Connect two ports together.
|
<O extends LogicalOperator> O add(O op)
O
- the type of the operator.op
- the operator to add to the graph.<O extends LogicalOperator> O add(O op, String name)
O
- the type of the operator.op
- the operator to add to the graph.name
- the name of the the operator<O extends LogicalOperator> O add(O op, OperatorSettings settings)
O
- the type of the operator.op
- the operator to add to the graph.settings
- operators settings, contains name and other configuration options.<P extends LogicalPort> void connect(P from, P to)
CompositeOperator
to an input port of an operator that was added to this context. (Applies to CompositeOperator.compose(com.pervasive.datarush.operators.CompositionContext)
).CompositeOperator
. (Applies to CompositeOperator.compose(com.pervasive.datarush.operators.CompositionContext)
).Note on port types: connecting mixed type ports will generally fail when the graph is compiled.
Note that ports do not store connection information; rather, connection information is stored externally within this context.
P
- the type of portfrom
- the source portto
- the target portCopyright © 2019 Actian Corporation. All rights reserved.