@PublicEvolving public class PythonIterativeStream extends PythonSingleOutputStreamOperator
IterativeStream.
The python iterative data stream represents the start of an iteration in a
PythonDataStream.
stream| Modifier and Type | Method and Description |
|---|---|
PythonDataStream |
close_with(PythonDataStream<? extends org.apache.flink.streaming.api.datastream.DataStream<org.python.core.PyObject>> feedback_stream)
A thin wrapper layer over
IterativeStream.closeWith(org.apache.flink.streaming.api.datastream.DataStream) |
nameadd_sink, filter, flat_map, iterate, iterate, key_by, map, output, split, union, write_as_text, write_as_text, write_to_socketpublic PythonDataStream close_with(PythonDataStream<? extends org.apache.flink.streaming.api.datastream.DataStream<org.python.core.PyObject>> feedback_stream)
IterativeStream.closeWith(org.apache.flink.streaming.api.datastream.DataStream)
Please note that this function works with PythonDataStream and thus wherever a DataStream is mentioned in
the above IterativeStream.closeWith(org.apache.flink.streaming.api.datastream.DataStream) description,
the user may regard it as PythonDataStream .
feedback_stream - PythonDataStream that will be used as input to the iteration
head.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.