public class ScalaTrySerializerSnapshot<E>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.util.Try<E>,<any>>
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.
| Constructor and Description |
|---|
ScalaTrySerializerSnapshot()
This empty nullary constructor is required for deserializing the configuration.
|
ScalaTrySerializerSnapshot(<any> trySerializer) |
| Modifier and Type | Method and Description |
|---|---|
protected <any> |
createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) |
protected int |
getCurrentOuterSnapshotVersion() |
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] |
getNestedSerializers(<any> outerSerializer) |
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshotpublic ScalaTrySerializerSnapshot()
public ScalaTrySerializerSnapshot(<any> trySerializer)
protected int getCurrentOuterSnapshotVersion()
getCurrentOuterSnapshotVersion in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.util.Try<E>,<any>>protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(<any> outerSerializer)
getNestedSerializers in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.util.Try<E>,<any>>protected <any> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
createOuterSerializerWithNestedSerializers in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.util.Try<E>,<any>>Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.