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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidreadSnapshot(int readVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader) resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<SortedMap<K, V>> oldSerializerSnapshot) voidwriteSnapshot(org.apache.flink.core.memory.DataOutputView out)
-
Constructor Details
-
SortedMapSerializerSnapshot
public SortedMapSerializerSnapshot()
-
-
Method Details
-
getCurrentVersion
public int getCurrentVersion()- Specified by:
getCurrentVersionin interfaceorg.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K>
-
writeSnapshot
- Specified by:
writeSnapshotin interfaceorg.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:
readSnapshotin interfaceorg.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K>- Throws:
IOException
-
restoreSerializer
- Specified by:
restoreSerializerin interfaceorg.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:
resolveSchemaCompatibilityin interfaceorg.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K>
-