Package io.debezium.connector.mysql.jdbc
Class MySqlBinaryProtocolFieldReader
java.lang.Object
io.debezium.connector.binlog.jdbc.BinlogFieldReader
io.debezium.connector.mysql.jdbc.AbstractFieldReader
io.debezium.connector.mysql.jdbc.MySqlBinaryProtocolFieldReader
Decode binary protocol value for MySQL.
Consult Binary Protocol Value if you want to learn more about this.
- Author:
- yangjie
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
readDateField
(ResultSet rs, int columnIndex, Column column, Table table) protected Object
readTimeField
(ResultSet rs, int columnIndex, Column column, Table table) protected Object
readTimestampField
(ResultSet rs, int columnIndex, Column column, Table table) Methods inherited from class io.debezium.connector.mysql.jdbc.AbstractFieldReader
getCharacterSet
Methods inherited from class io.debezium.connector.binlog.jdbc.BinlogFieldReader
getCharsetRegistry, hasValueConverter, logInvalidValue, readField
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
MySqlBinaryProtocolFieldReader
-
-
Method Details
-
readTimeField
protected Object readTimeField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException - Specified by:
readTimeField
in classBinlogFieldReader
- Throws:
SQLException
- See Also:
-
readDateField
protected Object readDateField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException - Specified by:
readDateField
in classBinlogFieldReader
- Throws:
SQLException
- See Also:
-
readTimestampField
protected Object readTimestampField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException - Specified by:
readTimestampField
in classBinlogFieldReader
- Throws:
SQLException
- See Also:
-