Class TwoPhaseCommitSinkFunction.StateSerializerSnapshot<TXN,CONTEXT>
java.lang.Object
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>,TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT>>
org.apache.flink.streaming.api.functions.sink.legacy.TwoPhaseCommitSinkFunction.StateSerializerSnapshot<TXN,CONTEXT>
- All Implemented Interfaces:
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>
- Enclosing class:
- TwoPhaseCommitSinkFunction<IN,
TXN, CONTEXT>
@Internal
public static final class TwoPhaseCommitSinkFunction.StateSerializerSnapshot<TXN,CONTEXT>
extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>,TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT>>
Snapshot for the
TwoPhaseCommitSinkFunction.StateSerializer.-
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 TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) protected intprotected org.apache.flink.api.common.typeutils.TypeSerializer<?>[]getNestedSerializers(TwoPhaseCommitSinkFunction.StateSerializer<TXN, CONTEXT> 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<TwoPhaseCommitSinkFunction.State<TXN, CONTEXT>> 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, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeSnapshot
-
Constructor Details
-
StateSerializerSnapshot
public StateSerializerSnapshot()
-
-
Method Details
-
getCurrentOuterSnapshotVersion
protected int getCurrentOuterSnapshotVersion()- Specified by:
getCurrentOuterSnapshotVersionin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>, TwoPhaseCommitSinkFunction.StateSerializer<TXN, CONTEXT>>
-
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<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>, TwoPhaseCommitSinkFunction.StateSerializer<TXN, CONTEXT>> - Throws:
IOException
-
writeOuterSnapshot
protected void writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException - Overrides:
writeOuterSnapshotin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>, TwoPhaseCommitSinkFunction.StateSerializer<TXN, CONTEXT>> - Throws:
IOException
-
resolveOuterSchemaCompatibility
protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility resolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN, CONTEXT>> oldSerializerSnapshot) - Overrides:
resolveOuterSchemaCompatibilityin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>, TwoPhaseCommitSinkFunction.StateSerializer<TXN, CONTEXT>>
-
createOuterSerializerWithNestedSerializers
protected TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT> createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) - Specified by:
createOuterSerializerWithNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>, TwoPhaseCommitSinkFunction.StateSerializer<TXN, CONTEXT>>
-
getNestedSerializers
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(TwoPhaseCommitSinkFunction.StateSerializer<TXN, CONTEXT> outerSerializer) - Specified by:
getNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>, TwoPhaseCommitSinkFunction.StateSerializer<TXN, CONTEXT>>
-