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 theSortedMapSerializer.
-
-
Constructor Summary
Constructors Constructor Description SortedMapSerializerSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurrentVersion()voidreadSnapshot(int readVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader)org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<SortedMap<K,V>>resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<SortedMap<K,V>> oldSerializerSnapshot)SortedMapSerializerrestoreSerializer()voidwriteSnapshot(org.apache.flink.core.memory.DataOutputView out)
-
-
-
Method Detail
-
getCurrentVersion
public int getCurrentVersion()
- Specified by:
getCurrentVersionin interfaceorg.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K>
-
writeSnapshot
public void writeSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException- 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
public SortedMapSerializer 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>
-
-