| Package | Description |
|---|---|
| io.awspring.cloud.jdbc.datasource | |
| io.awspring.cloud.jdbc.datasource.support |
| Modifier and Type | Method and Description |
|---|---|
DatabaseType |
DataSourceInformation.getDatabaseType()
Returns the database type provided by this class.
|
| Constructor and Description |
|---|
DataSourceInformation(DatabaseType databaseType,
String hostName,
Integer port,
String databaseName,
String userName,
String password)
Main constructor to create this object.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseType |
DatabaseType.fromEngine(String engineName) |
static DatabaseType |
DatabaseType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseType[] |
DatabaseType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<DatabaseType,String> |
StaticDatabasePlatformSupport.getAuthenticationInfo() |
protected abstract Map<DatabaseType,String> |
MapBasedDatabasePlatformSupport.getAuthenticationInfo() |
protected Map<DatabaseType,String> |
StaticDatabasePlatformSupport.getDriverClassNameMappings() |
protected abstract Map<DatabaseType,String> |
MapBasedDatabasePlatformSupport.getDriverClassNameMappings()
Template method that must be implemented in order to retrieve all driver class
names for every supported database platform.
|
protected Map<DatabaseType,String> |
StaticDatabasePlatformSupport.getSchemeNames() |
protected abstract Map<DatabaseType,String> |
MapBasedDatabasePlatformSupport.getSchemeNames()
Template method that mus be implemented to get all scheme names for every supported
database platform.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MapBasedDatabasePlatformSupport.getDatabaseUrlForDatabase(DatabaseType databaseType,
String hostname,
int port,
String databaseName)
Constructs the URL for the database by using a
URI to construct the URL. |
String |
DatabasePlatformSupport.getDatabaseUrlForDatabase(DatabaseType databaseType,
String hostname,
int port,
String databaseName)
Constructs the database URL for the database instance.
|
String |
MapBasedDatabasePlatformSupport.getDriverClassNameForDatabase(DatabaseType databaseType)
Returns the driver class for the database platform.
|
String |
DatabasePlatformSupport.getDriverClassNameForDatabase(DatabaseType databaseType)
Returns the fully qualified driver class name for the database platform.
|
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.