Class TraversableSerializerSnapshot<T extends scala.collection.TraversableOnce<E>,E>

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

@Internal public class TraversableSerializerSnapshot<T extends scala.collection.TraversableOnce<E>,E> extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,<any>>
A TypeSerializerSnapshot for the Scala TraversableSerializer.

This configuration snapshot class is implemented in Java because Scala does not allow calling different base class constructors from subclasses, while we need that for the default empty constructor.

  • 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
     
    TraversableSerializerSnapshot(<any> serializerInstance)
     
  • 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

    • TraversableSerializerSnapshot

      public TraversableSerializerSnapshot()
    • TraversableSerializerSnapshot

      public TraversableSerializerSnapshot(<any> serializerInstance)
  • Method Details

    • getCurrentOuterSnapshotVersion

      protected int getCurrentOuterSnapshotVersion()
      Specified by:
      getCurrentOuterSnapshotVersion in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.collection.TraversableOnce<E>,<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.collection.TraversableOnce<E>,<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.collection.TraversableOnce<E>,<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.collection.TraversableOnce<E>,<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.collection.TraversableOnce<E>,<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.collection.TraversableOnce<E>,<any>>