Class SortedMapSerializerSnapshot<K,​V>

  • All Implemented Interfaces:
    org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<SortedMap<K,​V>>

    public class SortedMapSerializerSnapshot<K,​V>
    extends Object
    implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<SortedMap<K,​V>>
    Snapshot class for the SortedMapSerializer.
    • Constructor Detail

      • SortedMapSerializerSnapshot

        public SortedMapSerializerSnapshot()
    • Method Detail

      • getCurrentVersion

        public int getCurrentVersion()
        Specified by:
        getCurrentVersion in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K>
      • 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<K>
        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<K>
        Throws:
        IOException
      • restoreSerializer

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

        public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<SortedMap<K,​V>> resolveSchemaCompatibility​(org.apache.flink.api.common.typeutils.TypeSerializer<SortedMap<K,​V>> newSerializer)
        Specified by:
        resolveSchemaCompatibility in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K>