IN
- input typeOUT
- output typepublic class PythonSingleInputStreamer<IN,OUT> extends PythonStreamer<PythonSingleInputSender<IN>,OUT>
PythonStreamer
for operations with one 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 |
---|
PythonSingleInputStreamer(AbstractRichFunction function,
Configuration config,
int envID,
int setID,
boolean usesByteArray) |
Modifier and Type | Method and Description |
---|---|
void |
streamBufferWithoutGroups(Iterator<IN> iterator,
Collector<OUT> c)
Sends all values contained in the iterator to the external process and collects all results.
|
close, destroyProcess, open, sendBroadCastVariables, sendReadConfirmation, sendWriteNotification
public PythonSingleInputStreamer(AbstractRichFunction function, Configuration config, int envID, int setID, boolean usesByteArray)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.