Class ScalaTrySerializerSnapshot<E>

java.lang.Object
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.util.Try<E>,<any>>
org.apache.flink.table.api.typeutils.ScalaTrySerializerSnapshot<E>
All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<scala.util.Try<E>>

@Internal public class ScalaTrySerializerSnapshot<E> extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.util.Try<E>,<any>>
A TypeSerializerSnapshot for the Scala TrySerializer.

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
    This empty nullary constructor is required for deserializing the configuration.
    ScalaTrySerializerSnapshot(<any> trySerializer)
     
  • 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)
     

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

    getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot

    Methods inherited from class java.lang.Object

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

    • ScalaTrySerializerSnapshot

      public ScalaTrySerializerSnapshot()
      This empty nullary constructor is required for deserializing the configuration.
    • ScalaTrySerializerSnapshot

      public ScalaTrySerializerSnapshot(<any> trySerializer)
  • Method Details

    • getCurrentOuterSnapshotVersion

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