@Internal public static final class TwoPhaseCommitSinkFunction.StateSerializerSnapshot<TXN,CONTEXT> extends CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>,TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT>>
TwoPhaseCommitSinkFunction.StateSerializer
.Constructor and Description |
---|
StateSerializerSnapshot() |
Modifier and Type | Method and Description |
---|---|
protected TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT> |
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(TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT> outerSerializer)
Gets the nested serializers from the outer serializer.
|
getCurrentVersion, 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<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>,TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT>>
protected TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT> createOuterSerializerWithNestedSerializers(TypeSerializer<?>[] nestedSerializers)
CompositeTypeSerializerSnapshot
createOuterSerializerWithNestedSerializers
in class CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>,TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT>>
nestedSerializers
- array of nested serializers to create the outer serializer with.protected TypeSerializer<?>[] getNestedSerializers(TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT> outerSerializer)
CompositeTypeSerializerSnapshot
getNestedSerializers
in class CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>,TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT>>
outerSerializer
- the outer serializer.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.