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

class ValueState(*args, **kwds)[source]#

State interface for partitioned single-value state. The value can be retrieved or updated.

The state is accessed and modified by user functions, and checkpointed consistently by the system as part of the distributed snapshots.

Methods

clear()

Removes the value mapped under the current key.

update(value)

Updates the operator state accessible by value() to the given value.

value()

Returns the current value for the state.

previous

pyflink.datastream.state.OperatorStateStore.get_broadcast_state

next

pyflink.datastream.state.AppendingState

Show Source

Created using Sphinx 4.5.0.