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.KeyedStream.process

pyflink.datastream.data_stream.KeyedStream.process#

KeyedStream.process(func: KeyedProcessFunction, output_type: TypeInformation | None = None) → DataStream[source]#

Applies the given ProcessFunction on the input stream, thereby creating a transformed output stream.

The function will be called for every element in the input streams and can produce zero or more output elements.

Parameters:
  • func – The KeyedProcessFunction that is called for each element in the stream.

  • output_type – TypeInformation for the result type of the function.

Returns:

The transformed DataStream.

previous

pyflink.datastream.data_stream.KeyedStream.key_by

next

pyflink.datastream.data_stream.KeyedStream.window

On this page
  • KeyedStream.process()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.