Class AvroSerializerSnapshot<T>
- java.lang.Object
-
- org.apache.flink.formats.avro.typeutils.AvroSerializerSnapshot<T>
-
- Type Parameters:
T- The data type that the originating serializer of this configuration serializes.
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>
public class AvroSerializerSnapshot<T> extends Object implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>
AnAvrospecific implementation of aTypeSerializerSnapshot.
-
-
Constructor Summary
Constructors Constructor Description AvroSerializerSnapshot()
-
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.TypeSerializerSnapshot<T> oldSerializerSnapshot)org.apache.flink.api.common.typeutils.TypeSerializer<T>restoreSerializer()voidwriteSnapshot(org.apache.flink.core.memory.DataOutputView out)
-
-
-
Method Detail
-
getCurrentVersion
public int getCurrentVersion()
- Specified by:
getCurrentVersionin interfaceorg.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>
-
writeSnapshot
public void writeSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException- Specified by:
writeSnapshotin interfaceorg.apache.flink.api.common.typeutils.TypeSerializerSnapshot<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>- Throws:
IOException
-
resolveSchemaCompatibility
public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<T> resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T> oldSerializerSnapshot)
- Specified by:
resolveSchemaCompatibilityin interfaceorg.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>
-
-