public interface CompositionIterator
execute
method will typically build internal state
that needs to be stored in an instance variable and referenced in finalComposition(com.pervasive.datarush.operators.OperatorComposable)
.Modifier and Type | Method and Description |
---|---|
void |
execute(IterativeExecutionContext ctx)
Executes this iterative operation.
|
void |
finalComposition(OperatorComposable ctx)
Called after execute is called.
|
void execute(IterativeExecutionContext ctx)
ctx
- context that provides a way to create subgraphsvoid finalComposition(OperatorComposable ctx)
//wire the model that we generated in execute
to the output port
PutPMML put= ctx.add(new PutPMML(model));
ctx.connect(put.getOutput(),output);
ctx
- the context to which the iterator should add operators and connectionsCopyright © 2024 Actian Corporation. All rights reserved.