| Package | Description |
|---|---|
| org.apache.shardingsphere.core.constant | |
| org.apache.shardingsphere.core.metadata.datasource |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseType |
DatabaseType.valueFrom(String databaseProductName)
Get database type enum via database name string.
|
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 |
|---|---|
static DataSourceMetaData |
DataSourceMetaDataFactory.newInstance(DatabaseType databaseType,
String url)
Create new instance of data source meta data.
|
| Constructor and Description |
|---|
ShardingDataSourceMetaData(Map<String,String> dataSourceURLs,
ShardingRule shardingRule,
DatabaseType databaseType) |
Copyright © 2019 The Apache Software Foundation. All rights reserved.