Class MysqlGenerator

  • All Implemented Interfaces:
    Generator

    public final class MysqlGenerator
    extends AbstractGenerator
    Generator for MySQL.
    Since:
    1.1
    Version:
    $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
    Author:
    Le Duc Bao, Ralf Joachim
    • Field Detail

      • NAME

        public static final java.lang.String NAME
        Name of database engine.
        See Also:
        Constant Field Values
      • ENGINE_CONFIG_PATH

        public static final java.lang.String ENGINE_CONFIG_PATH
        Path to specific configuration for generator.
        See Also:
        Constant Field Values
      • ENGINE_CONFIG_NAME

        public static final java.lang.String ENGINE_CONFIG_NAME
        Filename of specific configuration for generator.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MysqlGenerator

        public MysqlGenerator​(DDLGenConfiguration configuration)
        Constructor for MysqlGenerator.
        Parameters:
        configuration - Configuration to use by the generator.
    • Method Detail

      • initialize

        public void initialize()
        Initialize generator.
      • getEngineName

        public java.lang.String getEngineName()
        Get engine name.
        Returns:
        Engine name
      • getEngineConfigPath

        public java.lang.String getEngineConfigPath()
        Get engine configuration file path.
        Returns:
        Engine configuration file path
      • getEngineConfigName

        public java.lang.String getEngineConfigName()
        Get engine configuration file name.
        Returns:
        Engine configuration file name
      • generateHeader

        public void generateHeader​(DDLWriter writer)
        Generate header comment.
        Specified by:
        generateHeader in class AbstractGenerator
        Parameters:
        writer - DDLWriter to write schema objects to.