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.functions.KeySelector#

class KeySelector[source]#

The KeySelector allows to use deterministic objects for operations such as reduce, reduceGroup, join coGroup, etc. If invoked multiple times on the same object, the returned key must be the same. The extractor takes an object an returns the deterministic key for that object.

Methods

close()

get_key(value)

User-defined function that deterministically extracts the key from an object.

open(runtime_context)

previous

pyflink.datastream.functions.ProcessAllWindowFunction

next

pyflink.datastream.functions.NullByteKeySelector

Show Source

Created using Sphinx 4.5.0.