Class AbstractFieldReader

java.lang.Object
io.debezium.connector.binlog.jdbc.BinlogFieldReader
io.debezium.connector.mysql.jdbc.AbstractFieldReader
Direct Known Subclasses:
MySqlBinaryProtocolFieldReader, MySqlTextProtocolFieldReader

public abstract class AbstractFieldReader extends BinlogFieldReader
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: