Class ScalaCaseClassSerializerSnapshot<T extends scala.Product>

java.lang.Object
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,<any>>
org.apache.flink.table.api.typeutils.ScalaCaseClassSerializerSnapshot<T>
All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>

@Internal public final class ScalaCaseClassSerializerSnapshot<T extends scala.Product> extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,<any>>
TypeSerializerSnapshot for ScalaCaseClassSerializer.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot

    org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility
  • Constructor Summary

    Constructors
    Constructor
    Description
    Used via reflection.
    ScalaCaseClassSerializerSnapshot(<any> serializerInstance)
    Used for the snapshot path.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <any>
    createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
     
    protected int
     
    protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[]
    getNestedSerializers(<any> outerSerializer)
     
    protected void
    readOuterSnapshot(int readOuterSnapshotVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader)
     
    protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility
    resolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T> oldSerializerSnapshot)
     
    protected void
    writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out)
     

    Methods inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot

    getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readSnapshot, resolveSchemaCompatibility, restoreSerializer, writeSnapshot

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ScalaCaseClassSerializerSnapshot

      public ScalaCaseClassSerializerSnapshot()
      Used via reflection.
    • ScalaCaseClassSerializerSnapshot

      public ScalaCaseClassSerializerSnapshot(<any> serializerInstance)
      Used for the snapshot path.
  • Method Details

    • getCurrentOuterSnapshotVersion

      protected int getCurrentOuterSnapshotVersion()
      Specified by:
      getCurrentOuterSnapshotVersion in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>
    • getNestedSerializers

      protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(<any> outerSerializer)
      Specified by:
      getNestedSerializers in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>
    • createOuterSerializerWithNestedSerializers

      protected <any> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
      Specified by:
      createOuterSerializerWithNestedSerializers in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>
    • writeOuterSnapshot

      protected void writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException
      Overrides:
      writeOuterSnapshot in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>
      Throws:
      IOException
    • readOuterSnapshot

      protected void readOuterSnapshot(int readOuterSnapshotVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader) throws IOException
      Overrides:
      readOuterSnapshot in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>
      Throws:
      IOException
    • resolveOuterSchemaCompatibility

      protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility resolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T> oldSerializerSnapshot)
      Overrides:
      resolveOuterSchemaCompatibility in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>