public static class RowDeserializers.WriteRowsDeserializer
extends com.github.shyiko.mysql.binlog.event.deserialization.WriteRowsEventDataDeserializer
WriteRowsEventDataDeserializer
that converts MySQL DATE
, TIME
,
DATETIME
, and TIMESTAMP
values to LocalDate
, LocalTime
, LocalDateTime
, and
OffsetDateTime
objects, respectively.Constructor and Description |
---|
WriteRowsDeserializer(Map<Long,com.github.shyiko.mysql.binlog.event.TableMapEventData> tableMapEventByTableId) |
Modifier and Type | Method and Description |
---|---|
protected 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) |
deserialize, setMayContainExtraInformation
asBigDecimal, asUnixTime, deserializeBit, deserializeBlob, deserializeCell, deserializeDouble, deserializeEnum, deserializeFloat, deserializeFractionalSeconds, deserializeGeometry, deserializeInt24, deserializeJson, deserializeLong, deserializeLongLong, deserializeNewDecimal, deserializeRow, deserializeSet, deserializeShort, deserializeTiny
protected Serializable deserializeString(int length, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeString
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
protected Serializable deserializeVarString(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeVarString
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
protected Serializable deserializeDate(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeDate
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
protected Serializable deserializeDatetime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeDatetime
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
protected Serializable deserializeDatetimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeDatetimeV2
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
protected Serializable deserializeTimeV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeTimeV2
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
protected Serializable deserializeTime(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeTime
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
protected Serializable deserializeTimestamp(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeTimestamp
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
protected Serializable deserializeTimestampV2(int meta, com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeTimestampV2
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
protected Serializable deserializeYear(com.github.shyiko.mysql.binlog.io.ByteArrayInputStream inputStream) throws IOException
deserializeYear
in class com.github.shyiko.mysql.binlog.event.deserialization.AbstractRowsEventDataDeserializer<com.github.shyiko.mysql.binlog.event.WriteRowsEventData>
IOException
Copyright © 2020 JBoss by Red Hat. All rights reserved.