Package | Description |
---|---|
tigase.db.util |
Modifier and Type | Field and Description |
---|---|
SchemaLoader.Result |
SchemaManager.ResultEntry.result |
Modifier and Type | Method and Description |
---|---|
protected <T extends DataSource> |
SchemaLoader.addUsersToRepository(SchemaManager.SchemaInfo schemaInfo,
T dataSource,
Class<T> dataSourceClass,
List<BareJID> jids,
String password,
Logger log) |
abstract SchemaLoader.Result |
SchemaLoader.addXmppAdminAccount(SchemaManager.SchemaInfo schemaInfo)
Method attempts to add XMPP admin user account to the database using
AuthRepository . |
SchemaLoader.Result |
DBSchemaLoader.addXmppAdminAccount(SchemaManager.SchemaInfo schemaInfo) |
abstract SchemaLoader.Result |
SchemaLoader.destroyDataSource() |
SchemaLoader.Result |
DBSchemaLoader.destroyDataSource() |
protected SchemaLoader.Result |
DBSchemaLoader.executeSingleQuery(String query)
Method checks whether the connection to the database is possible and that database of specified name exists.
|
SchemaLoader.Result |
SchemaLoader.loadCommonSchema() |
abstract SchemaLoader.Result |
SchemaLoader.loadSchema(SchemaManager.SchemaInfo schemaInfo,
String version) |
SchemaLoader.Result |
DBSchemaLoader.loadSchema(SchemaManager.SchemaInfo schema,
String version) |
abstract SchemaLoader.Result |
SchemaLoader.loadSchemaFile(String fileName)
Method checks whether the connection to the database is possible and that database of specified name exists.
|
SchemaLoader.Result |
DBSchemaLoader.loadSchemaFile(String fileName) |
abstract SchemaLoader.Result |
SchemaLoader.postInstallation() |
SchemaLoader.Result |
DBSchemaLoader.postInstallation()
Method performs post-installation action using using
*-installer-post.sql schema file substituting it's
variables with ones provided. |
SchemaLoader.Result |
SchemaLoader.printInfo() |
SchemaLoader.Result |
DBSchemaLoader.printInfo()
Method performs post-installation action using using
*-installer-post.sql schema file substituting it's
variables with ones provided. |
abstract SchemaLoader.Result |
SchemaLoader.setComponentVersion(String component,
String version)
Methods attempt to write to database loaded schema version for particular component
|
SchemaLoader.Result |
DBSchemaLoader.setComponentVersion(String component,
String version) |
abstract SchemaLoader.Result |
SchemaLoader.shutdown() |
SchemaLoader.Result |
DBSchemaLoader.shutdown() |
SchemaLoader.Result |
DBSchemaLoader.shutdownDerby() |
default SchemaLoader.Result |
RepositoryVersionAware.updateSchema(Optional<Version> oldVersion,
Version newVersion)
Method used to update schema in the database from the (optional)
oldVersion to newVersion . |
abstract SchemaLoader.Result |
SchemaLoader.validateDBConnection()
Method validates whether the connection can at least be eI stablished.
|
SchemaLoader.Result |
DBSchemaLoader.validateDBConnection() |
abstract SchemaLoader.Result |
SchemaLoader.validateDBExists()
Method, if the connection is validated by
validateDBConnection , checks whether desired database exists. |
SchemaLoader.Result |
DBSchemaLoader.validateDBExists() |
static SchemaLoader.Result |
SchemaLoader.Result.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaLoader.Result[] |
SchemaLoader.Result.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected Function<AuthRepository,SchemaLoader.Result> |
SchemaLoader.addUsersToRepositoryFunction(List<BareJID> jids,
String pwd,
Logger log) |
Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.