Class EnumSerializer.EnumSerializerSnapshot<T extends Enum<T>>
- java.lang.Object
-
- org.apache.flink.cdc.runtime.serializer.EnumSerializer.EnumSerializerSnapshot<T>
-
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>,org.apache.flink.api.common.typeutils.TypeSerializerSnapshotAdapter<T>
- Enclosing class:
- EnumSerializer<T extends Enum<T>>
public static final class EnumSerializer.EnumSerializerSnapshot<T extends Enum<T>> extends Object implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshotAdapter<T>
TypeSerializerSnapshotforEnumSerializer.
-
-
Constructor Summary
Constructors Constructor Description EnumSerializerSnapshot()
-
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<T>resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<T> newSerializer)org.apache.flink.api.common.typeutils.TypeSerializer<T>restoreSerializer()voidwriteSnapshot(org.apache.flink.core.memory.DataOutputView out)
-
-
-
Method Detail
-
getCurrentVersion
public int getCurrentVersion()
-
writeSnapshot
public void writeSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException- Specified by:
writeSnapshotin interfaceorg.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T extends Enum<T>>- 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<T extends Enum<T>>- Throws:
IOException
-
restoreSerializer
public org.apache.flink.api.common.typeutils.TypeSerializer<T> restoreSerializer()
-
-