Interface BinlogCharsetRegistry

All Superinterfaces:
Service

public interface BinlogCharsetRegistry extends Service
Contract for handling binlog-based character set features
Author:
Chris Cranford
  • Method Details

    • getCharsetMapSize

      int getCharsetMapSize()
      Get the size of the character set registry map.
      Returns:
      the map size
    • getCollationNameForCollationIndex

      String getCollationNameForCollationIndex(Integer collationIndex)
      Get the collation name for a collation index.
      Parameters:
      collationIndex - the collation index, should not be null
      Returns:
      the collation name or null if not found or index is invalid
    • getCharsetNameForCollationIndex

      String getCharsetNameForCollationIndex(Integer collationIndex)
      Get the collation name for the collation index
      Parameters:
      collationIndex - the collation index, should not be null
      Returns:
      the collation name or null if not found or index is invalid
    • getJavaEncodingForCharSet

      String getJavaEncodingForCharSet(String charSetName)
      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