| Modifier and Type | Method and Description |
|---|---|
Optional<ShardingSphereRule> |
DataSourceNameAware.getRule()
Get rule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DataSourceNameAware.setRule(ShardingSphereRule rule)
Set rule.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DataNodeBuilder<T extends ShardingSphereRule>
Data node builder.
|
| Constructor and Description |
|---|
DataNodes(Collection<ShardingSphereRule> rules) |
| 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 schemaName,
DatabaseType databaseType,
Map<String,DataSource> dataSourceMap,
Collection<ShardingSphereRule> rules,
Properties props)
Load database.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ShardingSphereRule> |
ShardingSphereRuleMetaData.findRules(Class<T> clazz)
Find rules by class.
|
<T extends ShardingSphereRule> |
ShardingSphereRuleMetaData.findSingleRule(Class<T> clazz)
Find single rule by class.
|
| 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 |
|---|---|
static Collection<ShardingSphereRule> |
GlobalRulesBuilder.buildRules(Collection<RuleConfiguration> globalRuleConfigs,
Map<String,ShardingSphereMetaData> metaDataMap)
Build rules.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<ShardingSphereRule> |
SchemaRulesBuilder.buildRules(String schemaName,
SchemaConfiguration schemaConfig,
ConfigurationProperties props)
Build rules.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaRule |
SchemaRuleBuilder.build(T config,
String schemaName,
Map<String,DataSource> dataSources,
Collection<ShardingSphereRule> builtRules,
ConfigurationProperties props)
Build schema rule.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GlobalRule
Global rule.
|
interface |
SchemaRule
Schema rule.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DataNodeContainedRule
ShardingSphere rule which contains data node.
|
interface |
DataSourceContainedRule
ShardingSphere rule which contains data source.
|
interface |
ExportableRule
ShardingSphere rule which supports exporting data.
|
interface |
InstanceAwareRule
Instance aware rule.
|
interface |
MutableDataNodeRule
ShardingSphere rule which contains mutable data node.
|
interface |
StatusContainedRule
Status contained rule.
|
interface |
TableContainedRule
ShardingSphere rule which contains table.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.