You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2021/11/22 01:25:51 UTC
[shardingsphere] branch master updated: Update shadow docs. (#13706)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new c734987 Update shadow docs. (#13706)
c734987 is described below
commit c7349879eedfdd2bdf5cd5d6459dc775433c1a66
Author: gin <ja...@163.com>
AuthorDate: Mon Nov 22 09:25:05 2021 +0800
Update shadow docs. (#13706)
---
.../user-manual/shardingsphere-jdbc/builtin-algorithm/shadow.cn.md | 2 +-
.../user-manual/shardingsphere-jdbc/java-api/rules/shadow.cn.md | 2 +-
.../user-manual/shardingsphere-jdbc/java-api/rules/shadow.en.md | 6 +++---
.../shardingsphere-jdbc/spring-namespace/rules/shadow.cn.md | 2 +-
.../user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.cn.md | 2 +-
.../user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.en.md | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/builtin-algorithm/shadow.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/builtin-algorithm/shadow.cn.md
index b1e603a..054ea91 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/builtin-algorithm/shadow.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/builtin-algorithm/shadow.cn.md
@@ -31,7 +31,7 @@ weight = 6
## 注解影子算法
-### 简单SQL注解匹配影子算法
+### 简单 SQL 注解匹配影子算法
类型:SIMPLE_HINT
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/shadow.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/shadow.cn.md
index d0b3955..55958e3 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/shadow.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/shadow.cn.md
@@ -36,7 +36,7 @@ weight = 5
| *名称* | *数据类型* | *说明* |
| -------------------- | -------------------- | ----------------------- |
-| dataSourceNames | Collection\<String\> | 影子表关联影子数据源名称列表 |
+| dataSourceNames | Collection\<String\> | 影子表关联影子数据源映射名称列表 |
| shadowAlgorithmNames | Collection\<String\> | 影子表关联影子算法名称列表 |
## 影子算法配置
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/shadow.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/shadow.en.md
index 784d028..4d3c525 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/shadow.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/shadow.en.md
@@ -11,10 +11,10 @@ Attributes:
| *Name* | *DataType* | *Description* | *Default Value* |
| -------------------------- | --------------------------------------------------- | ------------------------------------------------- | --------------- |
-| enable | boolean | Shadow database switch | false |
+| enable | boolean | Shadow DB switch | false |
| dataSources | Map\<String, ShadowDataSourceConfiguration\> | Shadow data source mapping name and configuration | |
| tables | Map\<String, ShadowTableConfiguration\> | Shadow table name and configuration | |
-| defaultShadowAlgorithmName | String | default shadow algorithm name | |
+| defaultShadowAlgorithmName | String | Default shadow algorithm name | |
| shadowAlgorithms | Map\<String, ShardingSphereAlgorithmConfiguration\> | Shadow algorithm name and configuration | |
## Shadow Data Source Configuration
@@ -36,7 +36,7 @@ Attributes:
| *Name* | *DataType* | *Description* |
| -------------------- | -------------------- | ---------------------------------------------- |
-| dataSourceNames | Collection\<String\> | Shadow table location shadow data source names |
+| dataSourceNames | Collection\<String\> | Shadow table location shadow data source mapping names |
| shadowAlgorithmNames | Collection\<String\> | Shadow table location shadow algorithm names |
## Shadow Algorithm Configuration
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/spring-namespace/rules/shadow.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/spring-namespace/rules/shadow.cn.md
index 31bfa3d..93e9e1e 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/spring-namespace/rules/shadow.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/spring-namespace/rules/shadow.cn.md
@@ -12,7 +12,7 @@ weight = 5
| *名称* | *类型* | *说明* |
| ----- | ------ | ------ |
| id | 属性 | Spring Bean Id |
-| enable | 属性 | Shadow库开关。 可选值:true/false,默认为false |
+| enable | 属性 | 影子库开关。 可选值:true/false,默认为false |
| data-source(?) | 标签 | 影子数据源配置 |
| default-shadow-algorithm-name(?) | 标签 | 默认影子算法配置 |
| shadow-table(?) | 标签 | 影子表配置 |
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.cn.md
index 52024b8..086a511 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.cn.md
@@ -8,7 +8,7 @@ weight = 5
```yaml
rules:
- !SHADOW
- enable: # Shadow功能开关。 可选值:true/false,默认为false
+ enable: # 影子库开关。 可选值:true/false,默认为false
dataSources:
shadowDataSource:
sourceDataSourceName: # 生产数据源名称
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.en.md
index d576633..eca407a 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/shadow.en.md
@@ -8,7 +8,7 @@ weight = 5
```yaml
rules:
- !SHADOW
- enable: # Shadow function switch. Optional values: true/false, the default is false
+ enable: # Shadow DB switch. Optional values: true/false, the default is false
dataSources:
shadowDataSource:
sourceDataSourceName: # Production data source name