Class TimestampSerializer.TimestampSerializerSnapshot

  • All Implemented Interfaces:
    org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>
    Enclosing class:
    TimestampSerializer

    public static final class TimestampSerializer.TimestampSerializerSnapshot
    extends Object
    implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>
    TypeSerializerSnapshot for TimestampSerializer.
    • Constructor Detail

      • TimestampSerializerSnapshot

        public TimestampSerializerSnapshot()
    • Method Detail

      • getCurrentVersion

        public int getCurrentVersion()
        Specified by:
        getCurrentVersion in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>
      • writeSnapshot

        public void writeSnapshot​(org.apache.flink.core.memory.DataOutputView out)
                           throws IOException
        Specified by:
        writeSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>
        Throws:
        IOException
      • readSnapshot

        public void readSnapshot​(int readVersion,
                                 org.apache.flink.core.memory.DataInputView in,
                                 ClassLoader userCodeClassLoader)
                          throws IOException
        Specified by:
        readSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>
        Throws:
        IOException
      • restoreSerializer

        public org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp> restoreSerializer()
        Specified by:
        restoreSerializer in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>
      • resolveSchemaCompatibility

        public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<Timestamp> resolveSchemaCompatibility​(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp> oldSerializerSnapshot)
        Specified by:
        resolveSchemaCompatibility in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>