Class MariaDBDriver

java.lang.Object
me.hsgamer.hscore.database.driver.mariadb.MariaDBDriver
All Implemented Interfaces:
Driver

public class MariaDBDriver extends Object implements Driver
A driver for MariaDB
  • Constructor Details

    • MariaDBDriver

      public MariaDBDriver()
  • Method Details

    • getDriverClass

      public Class<? extends Driver> getDriverClass()
      Description copied from interface: Driver
      Get the driver class
      Specified by:
      getDriverClass in interface Driver
      Returns:
      the driver class
    • convertURL

      public String convertURL(Setting setting)
      Description copied from interface: Driver
      Get the JDBC url from the config
      Specified by:
      convertURL in interface Driver
      Parameters:
      setting - the setting
      Returns:
      the JDBC url
    • applyDefaultSetting

      public void applyDefaultSetting(Setting setting)
      Description copied from interface: Driver
      Apply the default setting
      Specified by:
      applyDefaultSetting in interface Driver
      Parameters:
      setting - the setting