Class ExternalSerializer.ExternalSerializerSnapshot<I,E>
java.lang.Object
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,ExternalSerializer<I,E>>
org.apache.flink.table.runtime.typeutils.ExternalSerializer.ExternalSerializerSnapshot<I,E>
- Type Parameters:
I- internal data structureE- external data structure
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<E>
- Enclosing class:
- ExternalSerializer<I,
E>
public static final class ExternalSerializer.ExternalSerializerSnapshot<I,E>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,ExternalSerializer<I,E>>
TypeSerializerSnapshot for ExternalSerializer.-
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 ExternalSerializer<I,E> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) protected intprotected org.apache.flink.api.common.typeutils.TypeSerializer<?>[]getNestedSerializers(ExternalSerializer<I, E> outerSerializer) protected voidreadOuterSnapshot(int readOuterSnapshotVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader) protected voidwriteOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) Methods inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readSnapshot, resolveOuterSchemaCompatibility, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeSnapshot
-
Constructor Details
-
ExternalSerializerSnapshot
public ExternalSerializerSnapshot() -
ExternalSerializerSnapshot
-
-
Method Details
-
getCurrentOuterSnapshotVersion
protected int getCurrentOuterSnapshotVersion()- Specified by:
getCurrentOuterSnapshotVersionin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,ExternalSerializer<I, E>>
-
writeOuterSnapshot
protected void writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException - Overrides:
writeOuterSnapshotin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,ExternalSerializer<I, E>> - 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<E,ExternalSerializer<I, E>> - Throws:
IOException
-
getNestedSerializers
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(ExternalSerializer<I, E> outerSerializer) - Specified by:
getNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,ExternalSerializer<I, E>>
-
createOuterSerializerWithNestedSerializers
protected ExternalSerializer<I,E> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) - Specified by:
createOuterSerializerWithNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,ExternalSerializer<I, E>>
-