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 2022/07/17 06:11:14 UTC
[shardingsphere] branch master updated: Update shadow.en.md (#19281)
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 978fff6d876 Update shadow.en.md (#19281)
978fff6d876 is described below
commit 978fff6d876a84e6ce1970c7d4921dab49751750
Author: Swastika Gupta <64...@users.noreply.github.com>
AuthorDate: Sun Jul 17 11:41:07 2022 +0530
Update shadow.en.md (#19281)
---
docs/document/content/dev-manual/shadow.en.md | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/docs/document/content/dev-manual/shadow.en.md b/docs/document/content/dev-manual/shadow.en.md
index c316afa1971..bf0cc0a209f 100644
--- a/docs/document/content/dev-manual/shadow.en.md
+++ b/docs/document/content/dev-manual/shadow.en.md
@@ -5,18 +5,20 @@ weight = 13
chapter = true
+++
-## SPI Interface
+## ShadowAlgorithm
-| *SPI Name* | *Description* |
-|---------------- |------------ |
-| ShadowAlgorithm | shadow routing algorithm |
+### Fully-qualified class name
-## Sample
+[`org.apache.shardingsphere.shadow.spi.ShadowAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-api/src/main/java/org/apache/shardingsphere/shadow/spi/ShadowAlgorithm.java)
-### ShadowAlgorithm
+### Definition
-| *Implementation Class* | *Description* |
-|-------------------------------- |----------------------- |
-| ColumnValueMatchShadowAlgorithm | Match shadow algorithms based on field values |
-| ColumnRegexMatchShadowAlgorithm | Regular matching shadow algorithm based on field value |
-| SimpleHintShadowAlgorithm | Simple match shadow algorithm based on Hint |
+Shadow algorithm's definition
+
+### Implementation classes
+
+| *Configuration Type* | *Description* | *Fully-qualified class name* |
+| -------------------- | ----------------------------------------- | ---------------------------- |
+| VALUE_MATCH | Match shadow algorithms based on field values | [`org.apache.shardingsphere.shadow.algorithm.shadow.column.ColumnValueMatchShadowAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/algorithm/shadow/column/ColumnValueMatchShadowAlgorithm.java) |
+| REGEX_MATCH | Regular matching shadow algorithm based on field value | [`org.apache.shardingsphere.shadow.algorithm.shadow.column.ColumnRegexMatchShadowAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/algorithm/shadow/column/ColumnRegexMatchShadowAlgorithm.java) |
+| SIMPLE_HINT | Simple match shadow algorithm based on Hint | [`org.apache.shardingsphere.shadow.algorithm.shadow.hint.SimpleHintShadowAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/algorithm/shadow/hint/SimpleHintShadowAlgorithm.java) |