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

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

Extension of AppendingState that allows merging of state. That is, two instance of MergingState can be combined into a single instance that contains all the information of the two merged states.

Methods

add(value)

Adding the given value to the tail of this list state.

clear()

Removes the value mapped under the current key.

get()

Returns the elements under the current key.

previous

pyflink.datastream.state.AppendingState

next

pyflink.datastream.state.ReducingState

Show Source

Created using Sphinx 4.5.0.