public class TraversableSerializerSnapshot<T extends scala.collection.TraversableOnce<E>,E>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,org.apache.flink.api.scala.typeutils.TraversableSerializer<T,E>>
TypeSerializerSnapshot for the Scala TraversableSerializer.
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 |
|---|
TraversableSerializerSnapshot() |
TraversableSerializerSnapshot(org.apache.flink.api.scala.typeutils.TraversableSerializer<T,E> serializerInstance) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.flink.api.scala.typeutils.TraversableSerializer<T,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.TraversableSerializer<T,E> outerSerializer) |
protected void |
readOuterSnapshot(int readOuterSnapshotVersion,
org.apache.flink.core.memory.DataInputView in,
ClassLoader userCodeClassLoader) |
protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility |
resolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T> oldSerializerSnapshot) |
protected void |
writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) |
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readSnapshot, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeSnapshotprotected int getCurrentOuterSnapshotVersion()
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(org.apache.flink.api.scala.typeutils.TraversableSerializer<T,E> outerSerializer)
protected org.apache.flink.api.scala.typeutils.TraversableSerializer<T,E> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
protected void writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out)
throws IOException
protected void readOuterSnapshot(int readOuterSnapshotVersion,
org.apache.flink.core.memory.DataInputView in,
ClassLoader userCodeClassLoader)
throws IOException
protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility resolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T> oldSerializerSnapshot)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.