Package io.debezium.connector.mysql
Class RowDeserializers.DeleteRowsDeserializer
java.lang.Object
com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
com.github.shyiko.mysql.binlog.event.deserialization.DeleteRowsEventDataDeserializer
io.debezium.connector.mysql.RowDeserializers.DeleteRowsDeserializer
- All Implemented Interfaces:
com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Enclosing class:
- RowDeserializers
public static class RowDeserializers.DeleteRowsDeserializer
extends com.github.shyiko.mysql.binlog.event.deserialization.DeleteRowsEventDataDeserializer
A specialization of
DeleteRowsEventDataDeserializer
that converts MySQL DATE
, TIME
,
DATETIME
, and TIMESTAMP
values to LocalDate
, LocalTime
, LocalDateTime
, and
OffsetDateTime
objects, respectively.-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionDeleteRowsDeserializer
(Map<Long, com.github.shyiko.mysql.binlog.event.TableMapEventData> tableMapEventByTableId, CommonConnectorConfig.EventProcessingFailureHandlingMode eventProcessingFailureHandlingMode) -
Method Summary
Modifier and TypeMethodDescriptionprotected Serializable
deserializeDate
(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) protected Serializable
deserializeDatetime
(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) protected Serializable
deserializeDatetimeV2
(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) protected Serializable
deserializeString
(int length, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) protected Serializable
deserializeTime
(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) protected Serializable
deserializeTimestamp
(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) protected Serializable
deserializeTimestampV2
(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) protected Serializable
deserializeTimeV2
(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) protected Serializable
deserializeVarString
(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) protected Serializable
deserializeYear
(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) Methods inherited from class com.github.shyiko.mysql.binlog.event.deserialization.DeleteRowsEventDataDeserializer
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
-
Field Details
-
eventProcessingFailureHandlingMode
-
-
Constructor Details
-
DeleteRowsDeserializer
public DeleteRowsDeserializer(Map<Long, com.github.shyiko.mysql.binlog.event.TableMapEventData> tableMapEventByTableId, CommonConnectorConfig.EventProcessingFailureHandlingMode eventProcessingFailureHandlingMode)
-
-
Method Details
-
deserializeString
protected Serializable deserializeString(int length, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeString
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-
deserializeVarString
protected Serializable deserializeVarString(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeVarString
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-
deserializeDate
protected Serializable deserializeDate(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeDate
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-
deserializeDatetime
protected Serializable deserializeDatetime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeDatetime
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-
deserializeDatetimeV2
protected Serializable deserializeDatetimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeDatetimeV2
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-
deserializeTimeV2
protected Serializable deserializeTimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeTimeV2
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-
deserializeTime
protected Serializable deserializeTime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeTime
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-
deserializeTimestamp
protected Serializable deserializeTimestamp(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeTimestamp
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-
deserializeTimestampV2
protected Serializable deserializeTimestampV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeTimestampV2
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-
deserializeYear
protected Serializable deserializeYear(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException - Overrides:
deserializeYear
in classcom.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.DeleteRowsEventData>
- Throws:
IOException
-