Class PostgreSqlDriver
java.lang.Object
me.hsgamer.hscore.database.driver.postgresql.PostgreSqlDriver
- All Implemented Interfaces:
Driver
A driver for PostgreSQL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDefaultSetting
(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, wait
Methods inherited from interface me.hsgamer.hscore.database.Driver
getDriverClassName
-
Constructor Details
-
PostgreSqlDriver
public PostgreSqlDriver()
-
-
Method Details
-
getDriverClass
Description copied from interface:Driver
Get the driver class- Specified by:
getDriverClass
in interfaceDriver
- Returns:
- the driver class
-
convertURL
Description copied from interface:Driver
Get the JDBC url from the config- Specified by:
convertURL
in interfaceDriver
- Parameters:
setting
- the setting- Returns:
- the JDBC url
-
applyDefaultSetting
Description copied from interface:Driver
Apply the default setting- Specified by:
applyDefaultSetting
in interfaceDriver
- Parameters:
setting
- the setting
-