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.
| 构造器和说明 |
|---|
ScalaTrySerializerSnapshot()
This empty nullary constructor is required for deserializing the configuration.
|
ScalaTrySerializerSnapshot(org.apache.flink.api.scala.typeutils.TrySerializer<E> trySerializer) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, 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–2022 The Apache Software Foundation. All rights reserved.