Class Serializers.DummyAvroKryoSerializerClass<T>

  • Enclosing class:
    Serializers

    public static class Serializers.DummyAvroKryoSerializerClass<T>
    extends com.esotericsoftware.kryo.Serializer<T>
    This is used in case we don't have Avro on the classpath. Flink versions before 1.4 always registered special Serializers for Kryo but starting with Flink 1.4 we don't have Avro on the classpath by default anymore. We still have to retain the same registered Serializers for backwards compatibility of savepoints.
    • Constructor Detail

      • DummyAvroKryoSerializerClass

        public DummyAvroKryoSerializerClass()
    • Method Detail

      • write

        public void write​(com.esotericsoftware.kryo.Kryo kryo,
                          com.esotericsoftware.kryo.io.Output output,
                          Object o)
        Specified by:
        write in class com.esotericsoftware.kryo.Serializer<T>
      • read

        public T read​(com.esotericsoftware.kryo.Kryo kryo,
                      com.esotericsoftware.kryo.io.Input input,
                      Class<T> aClass)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<T>