Package io.debezium.connector.mysql.jdbc
Class AbstractFieldReader
java.lang.Object
io.debezium.connector.binlog.jdbc.BinlogFieldReader
io.debezium.connector.mysql.jdbc.AbstractFieldReader
- Direct Known Subclasses:
MySqlBinaryProtocolFieldReader,MySqlTextProtocolFieldReader
An abstract implementation of
BinlogFieldReader for MySQL.
Normally MySQL uses the "Text protocol" to return values; however, when useCursorFetch is enabled,
the driver sets useServerPrepStmts to true, which internally causes MysQL to change from
the "Text Protocol" to the "Binary Protocol".- Author:
- Chris Cranford
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.debezium.connector.binlog.jdbc.BinlogFieldReader
hasValueConverter, logInvalidValue, readDateField, readField, readTimeField, readTimestampField
-
Constructor Details
-
AbstractFieldReader
-
-
Method Details
-
getCharacterSet
- Specified by:
getCharacterSetin classBinlogFieldReader- Throws:
UnsupportedEncodingException
-