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
  • Functions
  • pyflink.datastream.functions.RuntimeContext.get_reducing_state

pyflink.datastream.functions.RuntimeContext.get_reducing_state#

abstract RuntimeContext.get_reducing_state(state_descriptor: ReducingStateDescriptor) → ReducingState#

Gets a handle to the system’s key/value reducing state. This state is similar to the state accessed via get_state(ValueStateDescriptor), but is optimized for state that aggregates values.

This state is only accessible if the function is executed on a KeyedStream.

previous

pyflink.datastream.functions.RuntimeContext.get_map_state

next

pyflink.datastream.functions.RuntimeContext.get_aggregating_state

On this page
  • RuntimeContext.get_reducing_state()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.