Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Asynchronous I/O
    • Connectors
    • Formats
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink DataStream
  • DataStream
  • pyflink.datastream.data_stream.BroadcastConnectedStream.process

pyflink.datastream.data_stream.BroadcastConnectedStream.process#

BroadcastConnectedStream.process(func: BroadcastProcessFunction, output_type: TypeInformation = None) → DataStream[source]#
BroadcastConnectedStream.process(func: KeyedBroadcastProcessFunction, output_type: TypeInformation = None) → DataStream

Assumes as inputs a BroadcastStream and a DataStream or KeyedStream and applies the given BroadcastProcessFunction or KeyedBroadcastProcessFunction on them, thereby creating a transformed output stream.

Parameters:
  • func – The BroadcastProcessFunction that is called for each element in the non-broadcasted DataStream, or the KeyedBroadcastProcessFunction that is called for each element in the non-broadcasted KeyedStream.

  • output_type – The type of the output elements, should be common.TypeInformation or list (implicit RowTypeInfo) or None ( implicit Types.PICKLED_BYTE_ARRAY()).

Returns:

The transformed DataStream.

previous

pyflink.datastream.data_stream.BroadcastStream

next

Functions

On this page
  • BroadcastConnectedStream.process()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.