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
  • State
  • pyflink.datastream.state.AggregatingStateDescriptor

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

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.