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

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

Registers the given Serializer via its class as a serializer for the given type at the KryoSerializer.

Example:

>>> env.register_type_with_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.add_default_kryo_serializer

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.register_type

Show Source

Created using Sphinx 4.5.0.