Class SortedMapSerializerSnapshot<K,V>

java.lang.Object
org.apache.flink.table.runtime.typeutils.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 Details

    • SortedMapSerializerSnapshot

      public SortedMapSerializerSnapshot()
  • Method Details

    • 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.TypeSerializerSnapshot<SortedMap<K,V>> oldSerializerSnapshot)
      Specified by:
      resolveSchemaCompatibility in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K>