Interface BinlogCharsetRegistry
- All Superinterfaces:
Service
Contract for handling binlog-based character set features
- Author:
- Chris Cranford
-
Method Summary
Modifier and TypeMethodDescriptionintGet the size of the character set registry map.getCharsetNameForCollationIndex(Integer collationIndex) Get the collation name for the collation indexgetCollationNameForCollationIndex(Integer collationIndex) Get the collation name for a collation index.getJavaEncodingForCharSet(String charSetName) Get the Java encoding for a database character set name.
-
Method Details
-
getCharsetMapSize
int getCharsetMapSize()Get the size of the character set registry map.- Returns:
- the map size
-
getCollationNameForCollationIndex
Get the collation name for a collation index.- Parameters:
collationIndex- the collation index, should not benull- Returns:
- the collation name or
nullif not found or index is invalid
-
getCharsetNameForCollationIndex
Get the collation name for the collation index- Parameters:
collationIndex- the collation index, should not benull- Returns:
- the collation name or
nullif not found or index is invalid
-
getJavaEncodingForCharSet
Get the Java encoding for a database character set name.- Parameters:
charSetName- the database character set name- Returns:
- the java encoding for the character set name
-