| Modifier and Type | Method and Description |
|---|---|
ShardingSphereSchema |
ShardingSphereMetaData.getDefaultSchema()
Get default schema.
|
ShardingSphereSchema |
ShardingSphereMetaData.getSchemaByName(String schemaName)
Get schema by name.
|
| 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.
|
| Constructor and Description |
|---|
ShardingSphereDatabase(Map<String,ShardingSphereSchema> schemas) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,ShardingSphereSchema> |
SystemSchemaBuilder.build(String databaseName,
DatabaseType databaseType)
Build.
|
| Modifier and Type | Method and Description |
|---|---|
static ShardingSphereSchema |
SchemaLoader.load(Map<String,DataSource> dataSourceMap,
Collection<ShardingSphereRule> rules,
Properties props)
Load schema.
|
| Modifier and Type | Method and Description |
|---|---|
ShardingSphereSchema |
SchemaYamlSwapper.swapToObject(YamlSchema yamlConfig) |
| Modifier and Type | Method and Description |
|---|---|
YamlSchema |
SchemaYamlSwapper.swapToYamlConfiguration(ShardingSphereSchema schema) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.