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 theTwoPhaseCommitSinkFunction.StateSerializer.
-
-
Constructor Summary
Constructors Constructor Description StateSerializerSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT>createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)protected intgetCurrentOuterSnapshotVersion()protected 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)
-
-
-
Method Detail
-
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>>
-
-