Class BinlogOffsetSerializer
- java.lang.Object
-
- org.apache.flink.cdc.connectors.mysql.source.offset.BinlogOffsetSerializer
-
@Internal public class BinlogOffsetSerializer extends Object
Serializer implementation for aBinlogOffset.
-
-
Field Summary
Fields Modifier and Type Field Description static BinlogOffsetSerializerINSTANCE
-
Constructor Summary
Constructors Constructor Description BinlogOffsetSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinlogOffsetdeserialize(byte[] bytes)byte[]serialize(BinlogOffset binlogOffset)
-
-
-
Field Detail
-
INSTANCE
public static final BinlogOffsetSerializer INSTANCE
-
-
Method Detail
-
serialize
public byte[] serialize(BinlogOffset binlogOffset) throws IOException
- Throws:
IOException
-
deserialize
public BinlogOffset deserialize(byte[] bytes) throws IOException
- Throws:
IOException
-
-