Class RowDeserializers.WriteRowsDeserializer

java.lang.Object
com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
com.github.shyiko.mysql.binlog.event.deserialization.WriteRowsEventDataDeserializer
io.debezium.connector.mysql.RowDeserializers.WriteRowsDeserializer
All Implemented Interfaces:
com.github.shyiko.mysql.binlog.event.deserialization.EventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
Enclosing class:
RowDeserializers

public static class RowDeserializers.WriteRowsDeserializer extends com.github.shyiko.mysql.binlog.event.deserialization.WriteRowsEventDataDeserializer
A specialization of WriteRowsEventDataDeserializer that converts MySQL DATE, TIME, DATETIME, and TIMESTAMP values to LocalDate, LocalTime, LocalDateTime, and OffsetDateTime objects, respectively.
  • Field Details

  • Constructor Details

  • Method Details

    • deserializeString

      protected Serializable deserializeString(int length, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeString in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException
    • deserializeVarString

      protected Serializable deserializeVarString(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeVarString in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException
    • deserializeDate

      protected Serializable deserializeDate(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeDate in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException
    • deserializeDatetime

      protected Serializable deserializeDatetime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeDatetime in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException
    • deserializeDatetimeV2

      protected Serializable deserializeDatetimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeDatetimeV2 in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException
    • deserializeTimeV2

      protected Serializable deserializeTimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeTimeV2 in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException
    • deserializeTime

      protected Serializable deserializeTime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeTime in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException
    • deserializeTimestamp

      protected Serializable deserializeTimestamp(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeTimestamp in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException
    • deserializeTimestampV2

      protected Serializable deserializeTimestampV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeTimestampV2 in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException
    • deserializeYear

      protected Serializable deserializeYear(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
      Overrides:
      deserializeYear in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
      Throws:
      IOException