public static final class TimestampSerializer.TimestampSerializerSnapshot extends Object implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>
TypeSerializerSnapshot for TimestampSerializer.| Constructor and Description |
|---|
TimestampSerializerSnapshot() |
| 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<Timestamp> |
resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp> newSerializer) |
org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp> |
restoreSerializer() |
void |
writeSnapshot(org.apache.flink.core.memory.DataOutputView out) |
public int getCurrentVersion()
getCurrentVersion in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>public void writeSnapshot(org.apache.flink.core.memory.DataOutputView out)
throws IOException
writeSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>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<Timestamp>IOExceptionpublic org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp> restoreSerializer()
restoreSerializer in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<Timestamp> resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp> newSerializer)
resolveSchemaCompatibility in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.