Class MySqlStorageSupplier
java.lang.Object
me.hsgamer.topper.storage.simple.sql.SqlStorageSupplier
me.hsgamer.topper.storage.simple.mysql.MySqlStorageSupplier
- All Implemented Interfaces:
DataStorageSupplier
-
Field Summary
Fields inherited from class me.hsgamer.topper.storage.simple.sql.SqlStorageSupplier
logger
-
Constructor Summary
ConstructorsConstructorDescriptionMySqlStorageSupplier
(DatabaseSetting databaseSetting, Function<me.hsgamer.hscore.database.Setting, me.hsgamer.hscore.database.client.sql.SqlClient<?>> clientFunction) -
Method Summary
Methods inherited from class me.hsgamer.topper.storage.simple.sql.SqlStorageSupplier
applyDatabaseSetting, getStorage, isSingleThread
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.topper.storage.simple.supplier.DataStorageSupplier
disable, enable
-
Constructor Details
-
MySqlStorageSupplier
public MySqlStorageSupplier(DatabaseSetting databaseSetting, Function<me.hsgamer.hscore.database.Setting, me.hsgamer.hscore.database.client.sql.SqlClient<?>> clientFunction)
-
-
Method Details
-
toSaveStatement
- Specified by:
toSaveStatement
in classSqlStorageSupplier
-
toSaveValues
- Specified by:
toSaveValues
in classSqlStorageSupplier
-