public static final class PulsarSchemaTypeSerializer.PulsarSchemaTypeSerializerSnapshot<T> extends Object implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>
| Constructor and Description |
|---|
PulsarSchemaTypeSerializerSnapshot(PulsarSchema<T> schema) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentVersion() |
void |
readSnapshot(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() |
void |
writeSnapshot(org.apache.flink.core.memory.DataOutputView out) |
public PulsarSchemaTypeSerializerSnapshot(PulsarSchema<T> schema)
public int getCurrentVersion()
getCurrentVersion in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>public void writeSnapshot(org.apache.flink.core.memory.DataOutputView out)
throws IOException
writeSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>IOExceptionpublic void readSnapshot(int readVersion,
org.apache.flink.core.memory.DataInputView in,
ClassLoader userCodeClassLoader)
throws IOException
readSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>IOExceptionpublic org.apache.flink.api.common.typeutils.TypeSerializer<T> restoreSerializer()
restoreSerializer in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<T> resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<T> newSerializer)
resolveSchemaCompatibility in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.