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

class ValueStateDescriptor(name: str, value_type_info: TypeInformation)[source]#

StateDescriptor for ValueState. This can be used to create partitioned value state using RuntimeContext.get_state(ValueStateDescriptor).

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.BroadcastState

next

pyflink.datastream.state.ListStateDescriptor

On this page
  • ValueStateDescriptor
Show Source

Created using Sphinx 5.3.0.