Class TimestampDataSerializer.TimestampDataSerializerSnapshot

java.lang.Object
org.apache.flink.table.runtime.typeutils.TimestampDataSerializer.TimestampDataSerializerSnapshot
All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData>
Enclosing class:
TimestampDataSerializer

public static final class TimestampDataSerializer.TimestampDataSerializerSnapshot extends Object implements org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData>
TypeSerializerSnapshot for TimestampDataSerializer.
  • Constructor Details

    • TimestampDataSerializerSnapshot

      public TimestampDataSerializerSnapshot()
  • Method Details

    • getCurrentVersion

      public int getCurrentVersion()
      Specified by:
      getCurrentVersion in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData>
    • writeSnapshot

      public void writeSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException
      Specified by:
      writeSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData>
      Throws:
      IOException
    • readSnapshot

      public void readSnapshot(int readVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader) throws IOException
      Specified by:
      readSnapshot in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData>
      Throws:
      IOException
    • restoreSerializer

      public org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData> restoreSerializer()
      Specified by:
      restoreSerializer in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData>
    • resolveSchemaCompatibility

      public org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility<org.apache.flink.table.data.TimestampData> resolveSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData> oldSerializerSnapshot)
      Specified by:
      resolveSchemaCompatibility in interface org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData>