Class SqliteStorageSupplier
- java.lang.Object
-
- me.hsgamer.topper.storage.simple.supplier.SqlStorageSupplier
-
- me.hsgamer.topper.storage.simple.supplier.SqliteStorageSupplier
-
- All Implemented Interfaces:
DataStorageSupplier
- Direct Known Subclasses:
NewSqliteStorageSupplier
public class SqliteStorageSupplier extends SqlStorageSupplier
-
-
Field Summary
-
Fields inherited from class me.hsgamer.topper.storage.simple.supplier.SqlStorageSupplier
logger
-
-
Constructor Summary
Constructors Constructor Description SqliteStorageSupplier(DatabaseSetting databaseSetting, File baseHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisSingleThread()protected List<String>toSaveStatement(String name, String[] keyColumns, String[] valueColumns)protected List<Object[]>toSaveValues(Object[] keys, Object[] values)-
Methods inherited from class me.hsgamer.topper.storage.simple.supplier.SqlStorageSupplier
applyDatabaseSetting, getStorage
-
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 Detail
-
SqliteStorageSupplier
public SqliteStorageSupplier(DatabaseSetting databaseSetting, File baseHolder)
-
-
Method Detail
-
isSingleThread
protected boolean isSingleThread()
- Overrides:
isSingleThreadin classSqlStorageSupplier
-
toSaveStatement
protected List<String> toSaveStatement(String name, String[] keyColumns, String[] valueColumns)
- Specified by:
toSaveStatementin classSqlStorageSupplier
-
toSaveValues
protected List<Object[]> toSaveValues(Object[] keys, Object[] values)
- Specified by:
toSaveValuesin classSqlStorageSupplier
-
-