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.stream_execution_environment.StreamExecutionEnvironment.add_default_kryo_serializer#

StreamExecutionEnvironment.add_default_kryo_serializer(type_class_name: str, serializer_class_name: str)[source]#

Adds a new Kryo default serializer to the Runtime.

Example:

>>> env.add_default_kryo_serializer("com.aaa.bbb.TypeClass", "com.aaa.bbb.Serializer")
Parameters
  • type_class_name – The full-qualified java class name of the types serialized with the given serializer.

  • serializer_class_name – The full-qualified java class name of the serializer to use.

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_restart_strategy

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.register_type_with_kryo_serializer

On this page
  • StreamExecutionEnvironment.add_default_kryo_serializer()
Show Source

Created using Sphinx 5.3.0.