@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 DataStream<org.python.core.PyObject>> feedback_stream)
A thin wrapper layer over
IterativeStream.closeWith(org.apache.flink.streaming.api.datastream.DataStream) |
name
add_sink, filter, flat_map, iterate, iterate, key_by, map, output, split, union, write_as_text, write_as_text, write_to_socket
public PythonDataStream close_with(PythonDataStream<? extends 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–2019 The Apache Software Foundation. All rights reserved.