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
ConstructorsConstructorDescriptionThis empty nullary constructor is required for deserializing the configuration.ScalaTrySerializerSnapshot(<any> trySerializer) -
Method Summary
Modifier and TypeMethodDescriptionprotected <any>createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) protected intprotected 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
-
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:
getCurrentOuterSnapshotVersionin classorg.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:
getNestedSerializersin classorg.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:
createOuterSerializerWithNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.util.Try<E>,<any>>
-