Class SinkV1CommittableDeserializer
java.lang.Object
org.apache.flink.streaming.runtime.operators.sink.committables.SinkV1CommittableDeserializer
This class offers the possibility to deserialize committables that have been written with older
Flink releases (i.e. 1.13, 1.14).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIt is important to keep this number consistent with the number used by theStreamingCommitterStateSerializerin Flink 1.13 and 1.14. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>readVersionAndDeserializeList(org.apache.flink.core.io.SimpleVersionedSerializer<T> serializer, org.apache.flink.core.memory.DataInputView in)
-
Field Details
-
MAGIC_NUMBER
@VisibleForTesting public static final int MAGIC_NUMBERIt is important to keep this number consistent with the number used by theStreamingCommitterStateSerializerin Flink 1.13 and 1.14.- See Also:
-
-
Constructor Details
-
SinkV1CommittableDeserializer
public SinkV1CommittableDeserializer()
-
-
Method Details
-
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
-