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.functions.RuntimeContext.get_aggregating_state#

abstract RuntimeContext.get_aggregating_state(state_descriptor: pyflink.datastream.state.AggregatingStateDescriptor) → pyflink.datastream.state.AggregatingState#

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

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

previous

pyflink.datastream.functions.RuntimeContext.get_reducing_state

next

pyflink.datastream.functions.MapFunction

Show Source

Created using Sphinx 4.5.0.