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.ConnectedStreams.key_by

pyflink.datastream.data_stream.ConnectedStreams.key_by#

ConnectedStreams.key_by(key_selector1: Callable | KeySelector, key_selector2: Callable | KeySelector, key_type: TypeInformation | None = None) → ConnectedStreams[source]#

KeyBy operation for connected data stream. Assigns keys to the elements of input1 and input2 using keySelector1 and keySelector2 with explicit type information for the common key type.

Parameters:
  • key_selector1 – The KeySelector used for grouping the first input.

  • key_selector2 – The KeySelector used for grouping the second input.

  • key_type – The type information of the common key type

Returns:

The partitioned ConnectedStreams

previous

pyflink.datastream.data_stream.AllWindowedStream.process

next

pyflink.datastream.data_stream.ConnectedStreams.map

On this page
  • ConnectedStreams.key_by()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.