| 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 |
DatabaseTypeFactory.getDatabaseType(Map<String,? extends SchemaConfiguration> schemaConfigs,
ConfigurationProperties props)
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 |
OpenGaussDatabaseType
Database type of openGauss.
|
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 |
MariaDBDatabaseType.getTrunkDatabaseType() |
DatabaseType |
H2DatabaseType.getTrunkDatabaseType() |
| Modifier and Type | Method and Description |
|---|---|
static ShardingSphereMetaData |
ShardingSphereMetaData.create(String databaseName,
Map<String,ShardingSphereSchema> schemas,
SchemaConfiguration schemaConfig,
Collection<ShardingSphereRule> rules,
DatabaseType defaultDatabaseType)
Create ShardingSphere meta data.
|
| Modifier and Type | Method and Description |
|---|---|
static ShardingSphereDatabase |
DatabaseLoader.load(String databaseName,
DatabaseType databaseType)
Load database.
|
static ShardingSphereDatabase |
DatabaseLoader.load(String schemaName,
DatabaseType databaseType,
Map<String,DataSource> dataSourceMap,
Collection<ShardingSphereRule> rules,
Properties props)
Load database.
|
| Constructor and Description |
|---|
DataSourcesMetaData(DatabaseType databaseType,
Map<String,DataSource> dataSourceMap) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,ShardingSphereSchema> |
SystemSchemaBuilder.build(String databaseName,
DatabaseType databaseType)
Build.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<TableMetaData> |
TableMetaDataLoaderEngine.load(Collection<TableMetaDataLoaderMaterial> materials,
DatabaseType databaseType)
Load table meta data.
|
| 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(DatabaseType databaseType,
DataSource dataSource)
Load all table names.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SystemSchemaUtil.containsSystemSchema(DatabaseType databaseType,
Collection<String> schemaNames,
String sessionSchemaName)
Judge whether sql statement contains system schema or not.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.