Package | Description |
---|---|
com.glyart.mystral.database |
Contains the implementations of the main functionalities of this library.
|
com.glyart.mystral.datasource |
Contains some utilities for managing
DataSource objects. |
Modifier and Type | Method and Description |
---|---|
@NotNull Credentials |
Credentials.CredentialsBuilder.build()
Builds a
Credentials object, ready to be passed to Mystral.newDatabase(Credentials) . |
Modifier and Type | Method and Description |
---|---|
static @NotNull AsyncDatabase |
Mystral.newAsyncDatabase(@NotNull Credentials credentials,
@NotNull Executor executor)
Creates a new AsyncDatabase with the given Credentials and an Executor implementation.
|
static @NotNull Database |
Mystral.newDatabase(@NotNull Credentials credentials)
Creates a new Database with the given Credentials.
|
Modifier and Type | Field and Description |
---|---|
protected Credentials |
HikariFactory.credentials |
Modifier and Type | Method and Description |
---|---|
@Nullable Credentials |
HikariFactory.getCredentials() |
Modifier and Type | Method and Description |
---|---|
static @NotNull DataSource |
DataSourceUtils.newDataSource(@NotNull Credentials credentials)
Creates a new DataSource with the given Credentials.
|
<T extends HikariFactory> |
HikariFactory.setCredentials(@Nullable Credentials credentials)
Sets the Credentials used for connecting to a data source.
|
Copyright © 2021. All rights reserved.