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