Package net.lapismc.datastore
Class H2
- java.lang.Object
-
- net.lapismc.datastore.DataStore
-
- net.lapismc.datastore.MySQL
-
- net.lapismc.datastore.H2
-
public abstract class H2 extends MySQL
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.lapismc.datastore.DataStore
DataStore.StorageType
-
-
Field Summary
-
Fields inherited from class net.lapismc.datastore.DataStore
valueSeparator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataStore.StorageTypegetStorageType()Get the storage typevoidinitialiseDataStore()This will create and necessary files and generate tables-
Methods inherited from class net.lapismc.datastore.MySQL
addData, addData, closeConnection, createDatabase, createTables, dropTable, getBoolean, getEntireColumn, getEntireRow, getEntireTable, getLong, getLongList, getObject, getString, getStringList, removeAllData, removeData, setData, shutdown
-
Methods inherited from class net.lapismc.datastore.DataStore
convertData, isAsync, setAsync
-
-
-
-
Constructor Detail
-
H2
public H2(net.lapismc.lapiscore.LapisCorePlugin core, LapisURL url)
-
-
Method Detail
-
getStorageType
public DataStore.StorageType getStorageType()
Description copied from class:DataStoreGet the storage type- Overrides:
getStorageTypein classMySQL- Returns:
- Returns the type of this DataStore
-
initialiseDataStore
public void initialiseDataStore()
Description copied from class:DataStoreThis will create and necessary files and generate tables- Overrides:
initialiseDataStorein classMySQL
-
-