Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Connectors
    • Formats
  • PyFlink Common

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()
Show Source

Created using Sphinx 5.3.0.