public static class CoGroupedStreams.UnionSerializerSnapshot<T1,T2> extends CompositeTypeSerializerSnapshot<CoGroupedStreams.TaggedUnion<T1,T2>,org.apache.flink.streaming.api.datastream.CoGroupedStreams.UnionSerializer<T1,T2>>
TypeSerializerSnapshot
for the UnionSerializer
.Constructor and Description |
---|
UnionSerializerSnapshot() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.flink.streaming.api.datastream.CoGroupedStreams.UnionSerializer<T1,T2> |
createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
Creates an instance of the outer serializer with a given array of its nested serializers.
|
protected int |
getCurrentOuterSnapshotVersion()
Returns the version of the current outer snapshot's written binary format.
|
protected TypeSerializer<?>[] |
getNestedSerializers(org.apache.flink.streaming.api.datastream.CoGroupedStreams.UnionSerializer<T1,T2> outerSerializer)
Gets the nested serializers from the outer serializer.
|
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readOuterSnapshot, readSnapshot, resolveSchemaCompatibility, restoreSerializer, writeOuterSnapshot, writeSnapshot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readVersionedSnapshot, writeVersionedSnapshot
protected int getCurrentOuterSnapshotVersion()
CompositeTypeSerializerSnapshot
getCurrentOuterSnapshotVersion
in class CompositeTypeSerializerSnapshot<CoGroupedStreams.TaggedUnion<T1,T2>,org.apache.flink.streaming.api.datastream.CoGroupedStreams.UnionSerializer<T1,T2>>
protected TypeSerializer<?>[] getNestedSerializers(org.apache.flink.streaming.api.datastream.CoGroupedStreams.UnionSerializer<T1,T2> outerSerializer)
CompositeTypeSerializerSnapshot
getNestedSerializers
in class CompositeTypeSerializerSnapshot<CoGroupedStreams.TaggedUnion<T1,T2>,org.apache.flink.streaming.api.datastream.CoGroupedStreams.UnionSerializer<T1,T2>>
outerSerializer
- the outer serializer.protected org.apache.flink.streaming.api.datastream.CoGroupedStreams.UnionSerializer<T1,T2> createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
CompositeTypeSerializerSnapshot
createOuterSerializerWithNestedSerializers
in class CompositeTypeSerializerSnapshot<CoGroupedStreams.TaggedUnion<T1,T2>,org.apache.flink.streaming.api.datastream.CoGroupedStreams.UnionSerializer<T1,T2>>
nestedSerializers
- array of nested serializers to create the outer serializer with.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.