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.state.AggregatingStateDescriptor#

class AggregatingStateDescriptor(name: str, agg_function, state_type_info)[source]#

A StateDescriptor for AggregatingState.

The type internally stored in the state is the type of the Accumulator of the AggregateFunction().

Methods

enable_time_to_live(ttl_config)

Configures optional activation of state time-to-live (TTL).

get_agg_function()

get_name()

Get the name of the state.

previous

pyflink.datastream.state.ReducingStateDescriptor

next

pyflink.datastream.state.StateTtlConfig.new_builder

On this page
  • AggregatingStateDescriptor
Show Source

Created using Sphinx 5.3.0.