Package io.debezium.connector.mysql
Class MysqlBinaryProtocolFieldReader
- java.lang.Object
-
- io.debezium.connector.mysql.AbstractMysqlFieldReader
-
- io.debezium.connector.mysql.MysqlBinaryProtocolFieldReader
-
- All Implemented Interfaces:
MysqlFieldReader
public class MysqlBinaryProtocolFieldReader extends AbstractMysqlFieldReader
Decode binary protocol value for MySQL. Consult Binary Protocol Value if you want to learn more about this.- Author:
- yangjie
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerLOGGER-
Fields inherited from class io.debezium.connector.mysql.AbstractMysqlFieldReader
logger
-
-
Constructor Summary
Constructors Constructor Description MysqlBinaryProtocolFieldReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectreadDateField(ResultSet rs, int columnIndex, Column column, Table table)protected ObjectreadTimeField(ResultSet rs, int columnIndex)protected ObjectreadTimestampField(ResultSet rs, int columnIndex, Column column, Table table)-
Methods inherited from class io.debezium.connector.mysql.AbstractMysqlFieldReader
readField
-
-
-
-
Method Detail
-
readTimeField
protected Object readTimeField(ResultSet rs, int columnIndex) throws SQLException
- Specified by:
readTimeFieldin classAbstractMysqlFieldReader- Throws:
SQLException- See Also:
- ProtocolBinary::MYSQL_TYPE_TIME
-
readDateField
protected Object readDateField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException
- Specified by:
readDateFieldin classAbstractMysqlFieldReader- Throws:
SQLException- See Also:
- ProtocolBinary::MYSQL_TYPE_DATE
-
readTimestampField
protected Object readTimestampField(ResultSet rs, int columnIndex, Column column, Table table) throws SQLException
- Specified by:
readTimestampFieldin classAbstractMysqlFieldReader- Throws:
SQLException- See Also:
- ProtocolBinary::MYSQL_TYPE_DATETIME
-
-