IN - Type of the DataStreampublic class IterativeDataStream<IN> extends SingleOutputStreamOperator<IN,IterativeDataStream<IN>>
DataStream.isSplit, operatorcounter, environment, id, iterationID, iterationWaitTime, parallelism, partitioner, streamGraph, typeInfo, unionizedStreams, userDefinedNames| Modifier | Constructor and Description |
|---|---|
protected |
IterativeDataStream(DataStream<IN> dataStream,
long maxWaitTime) |
| Modifier and Type | Method and Description |
|---|---|
DataStream<IN> |
closeWith(DataStream<IN> iterationTail)
Closes the iteration.
|
DataStream<IN> |
closeWith(DataStream<IN> iterationTail,
boolean keepPartitioning)
Closes the iteration.
|
broadcast, copy, disableChaining, forward, getName, global, isolateResources, name, rebalance, returns, returns, returns, setBufferTimeout, setParallelism, shuffle, startNewChain, startNewResourceGroupaddSink, aggregate, checkFieldRange, clean, connect, connectGraph, count, cross, every, fillInType, filter, flatMap, fold, getClassAtPos, getExecutionConfig, getExecutionEnvironment, getId, getParallelism, getType, groupBy, groupBy, groupBy, iterate, iterate, join, map, max, max, maxBy, maxBy, maxBy, maxBy, min, min, minBy, minBy, minBy, minBy, partitionByHash, partitionByHash, partitionByHash, print, printToErr, project, reduce, setConnectionType, split, sum, sum, transform, union, window, window, write, writeAsCsv, writeAsCsv, writeAsCsv, writeAsCsv, writeAsText, writeAsText, writeAsText, writeAsText, writeToSocketprotected IterativeDataStream(DataStream<IN> dataStream, long maxWaitTime)
public DataStream<IN> closeWith(DataStream<IN> iterationTail, boolean keepPartitioning)
DataStream.split(org.apache.flink.streaming.api.collector.selector.OutputSelector)
for more information.iterationTail - The data stream that is fed back to the next iteration head.keepPartitioning - If true the feedback partitioning will be kept as it is (not
changed to match the input of the iteration head)public DataStream<IN> closeWith(DataStream<IN> iterationTail)
DataStream.split(org.apache.flink.streaming.api.collector.selector.OutputSelector)
for more information.iterationTail - The data stream that is fed back to the next iteration head.Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.