public class SQLiteDB extends SQLDB
actionsTable, commandUseTable, dataSource, ipsTable, killsTable, nicknamesTable, plugin, securityTable, serverTable, sessionsTable, tpsTable, userInfoTable, usersTable, versionTable, worldTable, worldTimesTable
Constructor and Description |
---|
SQLiteDB(Plan plugin)
Class Constructor.
|
SQLiteDB(Plan plugin,
String dbName) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Used to get the name of the database type.
|
void |
setupDataSource()
Setups the
BasicDataSource |
close, commit, getAllTables, getAllTablesInRemoveOrder, getConnection, getVersion, init, isNewDatabase, isOpen, removeAccount, removeAllData, rollback, scheduleClean, setAvailable, setupDatabase, setVersion, wasSeenBefore
getActionsTable, getCommandUse, getCommandUseTable, getConfigName, getDataSource, getIpsTable, getKillsTable, getNicknamesTable, getSavedUUIDs, getSecurityTable, getServerTable, getSessionsTable, getTpsTable, getUserInfoTable, getUsersTable, getWorldTable, getWorldTimesTable, isUsingMySQL
public SQLiteDB(Plan plugin)
plugin
- Current instance of Planpublic void setupDataSource()
BasicDataSource
setupDataSource
in class SQLDB
Copyright © 2017. All rights reserved.