Class TraversableSerializerSnapshot<T extends scala.collection.TraversableOnce<E>,E>
java.lang.Object
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,<any>>
org.apache.flink.table.api.typeutils.TraversableSerializerSnapshot<T,E>
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T>
@Internal
public class TraversableSerializerSnapshot<T extends scala.collection.TraversableOnce<E>,E>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<T,<any>>
A
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.
-
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
Constructors -
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
-
TraversableSerializerSnapshot
public TraversableSerializerSnapshot() -
TraversableSerializerSnapshot
public TraversableSerializerSnapshot(<any> serializerInstance)
-
-
Method Details
-
getCurrentOuterSnapshotVersion
protected int getCurrentOuterSnapshotVersion() -
getNestedSerializers
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(<any> outerSerializer) -
createOuterSerializerWithNestedSerializers
protected <any> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) -
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.collection.TraversableOnce<E>,<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.collection.TraversableOnce<E>,<any>> - Throws:
IOException
-
resolveOuterSchemaCompatibility
protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility resolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<T> oldSerializerSnapshot)
-