Package io.debezium.connector.mysql
Class RowDeserializers.UpdateRowsDeserializer
- java.lang.Object
-
- com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>
-
- com.github.shyiko.mysql.binlog.event.deserialization.UpdateRowsEventDataDeserializer
-
- io.debezium.connector.mysql.RowDeserializers.UpdateRowsDeserializer
-
- All Implemented Interfaces:
com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>
- Enclosing class:
- RowDeserializers
public static class RowDeserializers.UpdateRowsDeserializer extends com.github.shyiko.mysql.binlog.event.deserialization.UpdateRowsEventDataDeserializerA specialization ofUpdateRowsEventDataDeserializerthat converts MySQLDATE,TIME,DATETIME, andTIMESTAMPvalues toLocalDate,LocalTime,LocalDateTime, andOffsetDateTimeobjects, respectively.
-
-
Constructor Summary
Constructors Constructor Description UpdateRowsDeserializer(Map<Long,com.github.shyiko.mysql.binlog.event.TableMapEventData> tableMapEventByTableId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SerializabledeserializeDate(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)protected SerializabledeserializeDatetime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)protected SerializabledeserializeDatetimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)protected SerializabledeserializeString(int length, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)protected SerializabledeserializeTime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)protected SerializabledeserializeTimestamp(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)protected SerializabledeserializeTimestampV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)protected SerializabledeserializeTimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)protected SerializabledeserializeVarString(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)protected SerializabledeserializeYear(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream)-
Methods inherited from class com.github.shyiko.mysql.binlog.event.deserialization.UpdateRowsEventDataDeserializer
deserialize, setMayContainExtraInformation
-
Methods inherited from class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer
asBigDecimal, asUnixTime, deserializeBit, deserializeBlob, deserializeCell, deserializeDouble, deserializeEnum, deserializeFloat, deserializeFractionalSeconds, deserializeGeometry, deserializeInt24, deserializeJson, deserializeLong, deserializeLongLong, deserializeNewDecimal, deserializeRow, deserializeSet, deserializeShort, deserializeTiny
-
-
-
-
Method Detail
-
deserializeString
protected Serializable deserializeString(int length, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeStringin classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
deserializeVarString
protected Serializable deserializeVarString(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeVarStringin classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
deserializeDate
protected Serializable deserializeDate(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeDatein classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
deserializeDatetime
protected Serializable deserializeDatetime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeDatetimein classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
deserializeDatetimeV2
protected Serializable deserializeDatetimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeDatetimeV2in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
deserializeTimeV2
protected Serializable deserializeTimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeTimeV2in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
deserializeTime
protected Serializable deserializeTime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeTimein classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
deserializeTimestamp
protected Serializable deserializeTimestamp(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeTimestampin classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
deserializeTimestampV2
protected Serializable deserializeTimestampV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeTimestampV2in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
deserializeYear
protected Serializable deserializeYear(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
- Overrides:
deserializeYearin classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.UpdateRowsEventData>- Throws:
IOException
-
-