| Modifier and Type | Interface and Description |
|---|---|
interface |
BranchDatabaseType
Branch database type.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseType |
DatabaseTypeRegistry.getActualDatabaseType(String name)
Get actual database type.
|
static DatabaseType |
DatabaseTypeRecognizer.getDatabaseType(Collection<DataSource> dataSources)
Get database type.
|
static DatabaseType |
DatabaseTypeRegistry.getDatabaseTypeByURL(String url)
Get database type by URL.
|
static DatabaseType |
DatabaseTypeRegistry.getDefaultDatabaseType()
Get default database type.
|
DatabaseType |
BranchDatabaseType.getTrunkDatabaseType()
Get trunk database type.
|
static DatabaseType |
DatabaseTypeRegistry.getTrunkDatabaseType(String name)
Get trunk database type.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
DatabaseTypeRegistry.getTrunkDatabaseTypeName(DatabaseType databaseType)
Get name of trunk database type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
H2DatabaseType
Database type of H2.
|
class |
MariaDBDatabaseType
Database type of MariaDB.
|
class |
MySQLDatabaseType
Database type of MySQL.
|
class |
OracleDatabaseType
Database type of Oracle.
|
class |
PostgreSQLDatabaseType
Database type of PostgreSQL.
|
class |
SQL92DatabaseType
Database type of SQL92.
|
class |
SQLServerDatabaseType
Database type of SQLServer.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseType |
H2DatabaseType.getTrunkDatabaseType() |
DatabaseType |
MariaDBDatabaseType.getTrunkDatabaseType() |
| Constructor and Description |
|---|
DataSourcesMetaData(DatabaseType databaseType,
Map<String,DatabaseAccessConfiguration> databaseAccessConfigs) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<ColumnMetaData> |
ColumnMetaDataLoader.load(Connection connection,
String tableNamePattern,
DatabaseType databaseType)
Load column meta data list.
|
static Optional<TableMetaData> |
TableMetaDataLoader.load(DataSource dataSource,
String tableNamePattern,
DatabaseType databaseType)
Load table meta data.
|
static Collection<String> |
SchemaMetaDataLoader.loadAllTableNames(DataSource dataSource,
DatabaseType databaseType)
Load all table names.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<TableMetaData> |
RuleBasedTableMetaDataBuilder.load(String tableName,
DatabaseType databaseType,
Map<String,DataSource> dataSourceMap,
DataNodes dataNodes,
T rule,
ConfigurationProperties props)
Load table meta data.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<ShardingSphereRule> |
ShardingSphereRulesBuilder.buildSchemaRules(String schemaName,
Collection<RuleConfiguration> schemaRuleConfigurations,
DatabaseType databaseType,
Map<String,DataSource> dataSourceMap)
Build schema rules.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaRule |
SchemaRuleBuilder.build(String schemaName,
Map<String,DataSource> dataSourceMap,
DatabaseType databaseType,
T config)
Build schema rule.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.