@Internal
public final class Tuple2CaseClassSerializerSnapshot<T1,T2>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<scala.Tuple2<T1,T2>,org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<scala.Tuple2<T1,T2>>>
TypeSerializerSnapshot for ScalaCaseClassSerializer.| Constructor and Description |
|---|
Tuple2CaseClassSerializerSnapshot() |
Tuple2CaseClassSerializerSnapshot(Class<scala.Tuple2<T1,T2>> tupleClass)
Constructor for backwards compatibility path, used by the method
Tuple2CaseClassSerializer#resolveSchemaCompatibilityViaRedirectingToNewSnapshotClass(TypeSerializerConfigSnapshot). |
Tuple2CaseClassSerializerSnapshot(org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<scala.Tuple2<T1,T2>> serializerInstance) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<scala.Tuple2<T1,T2>> |
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<scala.Tuple2<T1,T2>> outerSerializer) |
protected boolean |
isOuterSnapshotCompatible(org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<scala.Tuple2<T1,T2>> 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 Tuple2CaseClassSerializerSnapshot()
public Tuple2CaseClassSerializerSnapshot(org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<scala.Tuple2<T1,T2>> serializerInstance)
protected int getCurrentOuterSnapshotVersion()
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<scala.Tuple2<T1,T2>> outerSerializer)
protected org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<scala.Tuple2<T1,T2>> 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<scala.Tuple2<T1,T2>,org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<scala.Tuple2<T1,T2>>>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<scala.Tuple2<T1,T2>,org.apache.flink.api.scala.typeutils.ScalaCaseClassSerializer<scala.Tuple2<T1,T2>>>IOExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.