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.
| 构造器和说明 |
|---|
TraversableSerializerSnapshot() |
TraversableSerializerSnapshot(org.apache.flink.api.scala.typeutils.TraversableSerializer<T,E> serializerInstance) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.scala.typeutils.TraversableSerializer<T,E> newSerializer) |
protected void |
writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) |
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readSnapshot, 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
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.