IN1 - first input typeIN2 - second input typeOUT - output typepublic class PythonDualInputStreamer<IN1,IN2,OUT> extends PythonStreamer<PythonDualInputSender<IN1,IN2>,OUT>
PythonStreamer for operations with two input stream.errorPrinter, function, in, LOG, msg, out, outPrinter, port, receiver, sender, server, SIGNAL_BUFFER_REQUEST, SIGNAL_BUFFER_REQUEST_G0, SIGNAL_BUFFER_REQUEST_G1, SIGNAL_ERROR, SIGNAL_FINISHED, SIGNAL_LAST, socket| Constructor and Description |
|---|
PythonDualInputStreamer(org.apache.flink.api.common.functions.AbstractRichFunction function,
org.apache.flink.configuration.Configuration config,
int envID,
int setID,
boolean usesByteArray) |
| Modifier and Type | Method and Description |
|---|---|
void |
streamBufferWithGroups(Iterator<IN1> iterator1,
Iterator<IN2> iterator2,
org.apache.flink.util.Collector<OUT> c)
Sends all values contained in both iterators to the external process and collects all results.
|
close, destroyProcess, open, sendBroadCastVariables, sendReadConfirmation, sendWriteNotificationpublic PythonDualInputStreamer(org.apache.flink.api.common.functions.AbstractRichFunction function,
org.apache.flink.configuration.Configuration config,
int envID,
int setID,
boolean usesByteArray)
public final void streamBufferWithGroups(Iterator<IN1> iterator1, Iterator<IN2> iterator2, org.apache.flink.util.Collector<OUT> c)
iterator1 - first input streamiterator2 - second input streamc - collectorCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.