Package io.debezium.connector.mysql
Interface MysqlFieldReader
-
- All Known Implementing Classes:
AbstractMysqlFieldReader,MysqlBinaryProtocolFieldReader,MysqlTextProtocolFieldReader
public interface MysqlFieldReaderDecode MySQL return value according to different protocols. Normally, MySQL uses "Text protocol" to return a value. When set `useCursorFetch=true`, `useServerPrepStmts` is consequently also set to `true`, setting `useServerPrepStmts=true` internally causes the MySQL protocol to change from "Text protocol" to "Binary Protocol".- Author:
- yangjie
- See Also:
MysqlBinaryProtocolFieldReader,MysqlTextProtocolFieldReader, DBZ-3238
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectreadField(ResultSet rs, int fieldNo, Column actualColumn, Table actualTable)read field from ResultSet according to different protocols
-
-
-
Method Detail
-
readField
Object readField(ResultSet rs, int fieldNo, Column actualColumn, Table actualTable) throws SQLException
read field from ResultSet according to different protocols- Throws:
SQLException
-
-