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 boolean |
isOuterSnapshotCompatible(org.apache.flink.api.scala.typeutils.TraversableSerializer<T,E> newSerializer) |
protected void |
readOuterSnapshot(int readOuterSnapshotVersion,
org.apache.flink.core.memory.DataInputView in,
ClassLoader userCodeClassLoader) |
protected void |
writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) |
getCurrentVersion, getNestedSerializerSnapshots, 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–2020 The Apache Software Foundation. All rights reserved.