Class PostgreSqlDriver
java.lang.Object
me.hsgamer.hscore.database.driver.postgresql.PostgreSqlDriver
- All Implemented Interfaces:
Driver
A driver for PostgreSQL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyDefaultSetting(Setting setting) Apply the default settingconvertURL(Setting setting) Get the JDBC url from the configGet the driver classMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.hscore.database.Driver
getDriverClassName
-
Constructor Details
-
PostgreSqlDriver
public PostgreSqlDriver()
-
-
Method Details
-
getDriverClass
Description copied from interface:DriverGet the driver class- Specified by:
getDriverClassin interfaceDriver- Returns:
- the driver class
-
convertURL
Description copied from interface:DriverGet the JDBC url from the config- Specified by:
convertURLin interfaceDriver- Parameters:
setting- the setting- Returns:
- the JDBC url
-
applyDefaultSetting
Description copied from interface:DriverApply the default setting- Specified by:
applyDefaultSettingin interfaceDriver- Parameters:
setting- the setting
-