Package io.debezium.connector.mysql.jdbc
Class MySqlTextProtocolFieldReader
java.lang.Object
io.debezium.connector.binlog.jdbc.BinlogFieldReader
io.debezium.connector.mysql.jdbc.AbstractFieldReader
io.debezium.connector.mysql.jdbc.MySqlTextProtocolFieldReader
Decode text protocol value for MySQL.
- 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
-
MySqlTextProtocolFieldReader
-
-
Method Details
-
readTimeField
protected Object readTimeField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException - Specified by:
readTimeFieldin classBinlogFieldReader- Throws:
SQLException
-
readDateField
protected Object readDateField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException - Specified by:
readDateFieldin classBinlogFieldReader- Throws:
SQLException
-
readTimestampField
protected Object readTimestampField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException - Specified by:
readTimestampFieldin classBinlogFieldReader- Throws:
SQLException
-