public class TraversableSerializerSnapshot<T extends scala.collection.TraversableOnce<E>,E>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,<any>>
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(<any> serializerInstance) |
| 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) |
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, resolveSchemaCompatibility, restoreSerializer, writeSnapshotpublic TraversableSerializerSnapshot()
public TraversableSerializerSnapshot(<any> serializerInstance)
protected int getCurrentOuterSnapshotVersion()
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(<any> outerSerializer)
protected <any> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
protected void writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out)
throws IOException
writeOuterSnapshot in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.collection.TraversableOnce<E>,<any>>IOExceptionprotected void readOuterSnapshot(int readOuterSnapshotVersion,
org.apache.flink.core.memory.DataInputView in,
ClassLoader userCodeClassLoader)
throws IOException
readOuterSnapshot in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.collection.TraversableOnce<E>,<any>>IOExceptionprotected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility resolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T> oldSerializerSnapshot)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.