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.AllWindowedStream.process#

AllWindowedStream.process(process_window_function: pyflink.datastream.functions.ProcessAllWindowFunction, output_type: Optional[pyflink.common.typeinfo.TypeInformation] = None) → pyflink.datastream.data_stream.DataStream[source]#

Applies the given window function to each window. The window function is called for each evaluation of the window for each key individually. The output of the window function is interpreted as a regular non-windowed stream.

Note that this function requires that all data in the windows is buffered until the window is evaluated, as the function provides no means of incremental aggregation.

Parameters
  • process_window_function – The window function.

  • output_type – Type information for the result type of the window function.

Returns

The data stream that is the result of applying the window function to the window.

previous

pyflink.datastream.data_stream.AllWindowedStream.apply

next

pyflink.datastream.data_stream.ConnectedStreams.key_by

Show Source

Created using Sphinx 4.5.0.