Class MySqlCharsetRegistry
java.lang.Object
io.debezium.connector.mysql.charset.MySqlCharsetRegistry
- All Implemented Interfaces:
BinlogCharsetRegistry,Service
Character-set registry implementation for MySQL that delegates to the MySQL JDBC driver.
- Author:
- Chris Cranford
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classHelper to gain access to protected method -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCharsetNameForCollationIndex(Integer collationIndex) getCollationNameForCollationIndex(Integer collationIndex) getJavaEncodingForCharSet(String charSetName)
-
Constructor Details
-
MySqlCharsetRegistry
public MySqlCharsetRegistry()
-
-
Method Details
-
getCharsetMapSize
public int getCharsetMapSize()- Specified by:
getCharsetMapSizein interfaceBinlogCharsetRegistry
-
getCollationNameForCollationIndex
- Specified by:
getCollationNameForCollationIndexin interfaceBinlogCharsetRegistry
-
getCharsetNameForCollationIndex
- Specified by:
getCharsetNameForCollationIndexin interfaceBinlogCharsetRegistry
-
getJavaEncodingForCharSet
- Specified by:
getJavaEncodingForCharSetin interfaceBinlogCharsetRegistry
-