public final class ScalaOptionSerializerSnapshot<E> extends CompositeTypeSerializerSnapshot<scala.Option<E>,org.apache.flink.api.scala.typeutils.OptionSerializer<E>>
TypeSerializerSnapshot
for the Scala OptionSerializer
.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility
Constructor and Description |
---|
ScalaOptionSerializerSnapshot() |
ScalaOptionSerializerSnapshot(org.apache.flink.api.scala.typeutils.OptionSerializer<E> serializerInstance) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.flink.api.scala.typeutils.OptionSerializer<E> |
createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
Creates an instance of the outer serializer with a given array of its nested serializers.
|
protected int |
getCurrentOuterSnapshotVersion()
Returns the version of the current outer snapshot's written binary format.
|
protected TypeSerializer<?>[] |
getNestedSerializers(org.apache.flink.api.scala.typeutils.OptionSerializer<E> outerSerializer)
Gets the nested serializers from the outer serializer.
|
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readVersionedSnapshot, writeVersionedSnapshot
public ScalaOptionSerializerSnapshot()
public ScalaOptionSerializerSnapshot(org.apache.flink.api.scala.typeutils.OptionSerializer<E> serializerInstance)
protected int getCurrentOuterSnapshotVersion()
CompositeTypeSerializerSnapshot
getCurrentOuterSnapshotVersion
in class CompositeTypeSerializerSnapshot<scala.Option<E>,org.apache.flink.api.scala.typeutils.OptionSerializer<E>>
protected TypeSerializer<?>[] getNestedSerializers(org.apache.flink.api.scala.typeutils.OptionSerializer<E> outerSerializer)
CompositeTypeSerializerSnapshot
getNestedSerializers
in class CompositeTypeSerializerSnapshot<scala.Option<E>,org.apache.flink.api.scala.typeutils.OptionSerializer<E>>
outerSerializer
- the outer serializer.protected org.apache.flink.api.scala.typeutils.OptionSerializer<E> createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
CompositeTypeSerializerSnapshot
createOuterSerializerWithNestedSerializers
in class CompositeTypeSerializerSnapshot<scala.Option<E>,org.apache.flink.api.scala.typeutils.OptionSerializer<E>>
nestedSerializers
- array of nested serializers to create the outer serializer with.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.