Uses of Interface
org.sgrewritten.stargate.database.SQLDatabaseAPI
Package
Description
-
Uses of SQLDatabaseAPI in org.sgrewritten.stargate.database
Modifier and TypeClassDescriptionclass
Represents a MySQL databaseclass
Represents an SQLite databaseModifier and TypeMethodDescriptionvoid
SQLDatabase.load
(SQLDatabaseAPI database) Loads the database from the given API, and prepares necessary tablesModifierConstructorDescriptionSQLDatabase
(SQLDatabaseAPI database, boolean usingBungee, boolean usingRemoteDatabase, TableNameConfiguration config, StoredPropertiesAPI propertiesDatabase) Instantiates a new stargate registrySQLDatabase
(SQLDatabaseAPI database, boolean usingBungee, boolean usingRemoteDatabase, StoredPropertiesAPI propertiesDatabase) Instantiates a new stargate registrySQLDatabase
(SQLDatabaseAPI database, StoredPropertiesAPI propertiesDatabase) Instantiates a new stargate registry -
Uses of SQLDatabaseAPI in org.sgrewritten.stargate.migration
Modifier and TypeMethodDescriptionabstract void
DataMigration.run
(@NotNull SQLDatabaseAPI base, StargateAPI stargateAPI) Runs this configuration modifiervoid
DataMigration6.run
(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) void
DataMigration7.run
(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) void
DataMigration9.run
(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) boolean
DataMigrator.run
(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) Runs all relevant config migrationsModifierConstructorDescriptionSQLDatabaseMigrator
(@NotNull SQLDatabaseAPI database, @NotNull TableNameConfiguration nameConfiguration, @NotNull String sqlFilesPath, boolean interServerEnabled) -
Uses of SQLDatabaseAPI in org.sgrewritten.stargate.util.database
Modifier and TypeMethodDescriptionstatic SQLDatabaseAPI
DatabaseHelper.loadDatabase
(Stargate stargate) Loads the databaseModifier and TypeMethodDescriptionstatic void
DatabaseHelper.createTables
(SQLDatabaseAPI database, SQLQueryGenerator sqlQueryGenerator, boolean useInterServerNetworks) Create all tables used by the sql database