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.MapStateDescriptor#

class MapStateDescriptor(name: str, key_type_info: pyflink.common.typeinfo.TypeInformation, value_type_info: pyflink.common.typeinfo.TypeInformation)[source]#

StateDescriptor for MapState. This can be used to create state where the type is a map that can be updated and iterated over.

Methods

enable_time_to_live(ttl_config)

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

get_name()

Get the name of the state.

previous

pyflink.datastream.state.ListStateDescriptor

next

pyflink.datastream.state.ReducingStateDescriptor

Show Source

Created using Sphinx 4.5.0.