Class SinkV1CommittableDeserializer
- java.lang.Object
-
- org.apache.flink.streaming.runtime.operators.sink.committables.SinkV1CommittableDeserializer
-
@Internal public class SinkV1CommittableDeserializer extends Object
This class offers the possibility to deserialize committables that have been written with older Flink releases (i.e. 1.13, 1.14).
-
-
Field Summary
Fields Modifier and Type Field Description static intMAGIC_NUMBERIt is important to keep this number consistent with the number used by theStreamingCommitterStateSerializerin Flink 1.13 and 1.14.
-
Constructor Summary
Constructors Constructor Description SinkV1CommittableDeserializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> List<T>readVersionAndDeserializeList(org.apache.flink.core.io.SimpleVersionedSerializer<T> serializer, org.apache.flink.core.memory.DataInputView in)
-
-
-
Field Detail
-
MAGIC_NUMBER
@VisibleForTesting public static final int MAGIC_NUMBER
It is important to keep this number consistent with the number used by theStreamingCommitterStateSerializerin Flink 1.13 and 1.14.- See Also:
- Constant Field Values
-
-
Method Detail
-
readVersionAndDeserializeList
public static <T> List<T> readVersionAndDeserializeList(org.apache.flink.core.io.SimpleVersionedSerializer<T> serializer, org.apache.flink.core.memory.DataInputView in) throws IOException
- Throws:
IOException
-
-