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 ObjectreadDateField(ResultSet rs, int columnIndex, Column column, Table table) protected ObjectreadTimeField(ResultSet rs, int columnIndex, Column column, Table table) protected ObjectreadTimestampField(ResultSet rs, int columnIndex, Column column, Table table) Methods inherited from class io.debezium.connector.mysql.jdbc.AbstractFieldReader
getCharacterSetMethods inherited from class io.debezium.connector.binlog.jdbc.BinlogFieldReader
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:
readTimeFieldin classBinlogFieldReader- Throws:
SQLException- See Also:
-
readDateField
protected Object readDateField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException - Specified by:
readDateFieldin classBinlogFieldReader- Throws:
SQLException- See Also:
-
readTimestampField
protected Object readTimestampField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException - Specified by:
readTimestampFieldin classBinlogFieldReader- Throws:
SQLException- See Also:
-