The delta iteration must be closed by setting a delta for the solution set ( {@link #setSolutionSetDelta(org.apache.flink.api.common.operators.Operator)}) and the new workset (the data set that will be fed back, {@link #setNextWorkset(org.apache.flink.api.common.operators.Operator)}). The DeltaIteration itself represents the result after the iteration has terminated. Delta iterations terminate when the feed back data set (the workset) is empty. In addition, a maximum number of steps is given as a fall back termination guard.
Elements in the solution set are uniquely identified by a key. When merging the solution set delta, contained elements with the same key are replaced.
This class is a subclass of {@code DualInputOperator}. The solution set is considered the first input, the workset is considered the second input.
|
|