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>>
TypeSerializerSnapshotforExternalSerializer.
-
-
Constructor Summary
Constructors Constructor Description ExternalSerializerSnapshot()ExternalSerializerSnapshot(ExternalSerializer<I,E> externalSerializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExternalSerializer<I,E>createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)protected intgetCurrentOuterSnapshotVersion()protected 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)
-
-
-
Constructor Detail
-
ExternalSerializerSnapshot
public ExternalSerializerSnapshot()
-
ExternalSerializerSnapshot
public ExternalSerializerSnapshot(ExternalSerializer<I,E> externalSerializer)
-
-
Method Detail
-
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>>
-
-