@Internal
public final class ScalaCaseClassSerializerSnapshot<T extends scala.Product>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T>>
TypeSerializerSnapshot for ScalaCaseClassSerializer.| Constructor and Description |
|---|
ScalaCaseClassSerializerSnapshot()
Used via reflection.
|
ScalaCaseClassSerializerSnapshot(org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T> serializerInstance)
Used for the snapshot path.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T> |
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.ScalaCaseClassSerializer<T> outerSerializer) |
protected boolean |
isOuterSnapshotCompatible(org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T> 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, writeSnapshotpublic ScalaCaseClassSerializerSnapshot()
public ScalaCaseClassSerializerSnapshot(org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T> serializerInstance)
protected int getCurrentOuterSnapshotVersion()
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T> outerSerializer)
protected org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T> 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.Product,org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T extends scala.Product>>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.Product,org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T extends scala.Product>>IOExceptionprotected boolean isOuterSnapshotCompatible(org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<T> newSerializer)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.