Class ScalaCaseClassSerializerSnapshot<T extends scala.Product>
java.lang.Object
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,<any>>
org.apache.flink.table.api.typeutils.ScalaCaseClassSerializerSnapshot<T>
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>
@Internal
public final class ScalaCaseClassSerializerSnapshot<T extends scala.Product>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,<any>>
TypeSerializerSnapshot for ScalaCaseClassSerializer.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility -
Constructor Summary
ConstructorsConstructorDescriptionUsed via reflection.ScalaCaseClassSerializerSnapshot(<any> serializerInstance) Used for the snapshot path. -
Method Summary
Modifier and TypeMethodDescriptionprotected <any>createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) protected intprotected org.apache.flink.api.common.typeutils.TypeSerializer<?>[]getNestedSerializers(<any> outerSerializer) protected voidreadOuterSnapshot(int readOuterSnapshotVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader) protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibilityresolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T> oldSerializerSnapshot) protected voidwriteOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) Methods inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readSnapshot, resolveSchemaCompatibility, restoreSerializer, writeSnapshot
-
Constructor Details
-
ScalaCaseClassSerializerSnapshot
public ScalaCaseClassSerializerSnapshot()Used via reflection. -
ScalaCaseClassSerializerSnapshot
public ScalaCaseClassSerializerSnapshot(<any> serializerInstance) Used for the snapshot path.
-
-
Method Details
-
getCurrentOuterSnapshotVersion
protected int getCurrentOuterSnapshotVersion()- Specified by:
getCurrentOuterSnapshotVersionin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>
-
getNestedSerializers
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(<any> outerSerializer) - Specified by:
getNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>
-
createOuterSerializerWithNestedSerializers
protected <any> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) - Specified by:
createOuterSerializerWithNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>
-
writeOuterSnapshot
protected void writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException - Overrides:
writeOuterSnapshotin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>> - Throws:
IOException
-
readOuterSnapshot
protected void readOuterSnapshot(int readOuterSnapshotVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader) throws IOException - Overrides:
readOuterSnapshotin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>> - Throws:
IOException
-
resolveOuterSchemaCompatibility
protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility resolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T> oldSerializerSnapshot) - Overrides:
resolveOuterSchemaCompatibilityin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T extends scala.Product,<any>>
-