加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
frame_algorithm.uml 9.88 KB
一键复制 编辑 原始数据 按行查看 历史
finleytianhe 提交于 2019-12-03 13:45 . 修改类图
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>JAVA</ID>
<OriginalElement>com.dangdang.ddframe.rdb.sharding.api.HintManager</OriginalElement>
<nodes>
<node x="648.8461538461539" y="79.0">com.dangdang.ddframe.rdb.sharding.routing.strategy.SingleKeyShardingAlgorithm</node>
<node x="0.0" y="79.0">com.dangdang.ddframe.rdb.sharding.routing.strategy.NoneKeyShardingAlgorithm</node>
<node x="321.98846153846165" y="79.0">com.dangdang.ddframe.rdb.sharding.api.strategy.database.DatabaseShardingAlgorithm</node>
<node x="0.0" y="390.0">com.dangdang.ddframe.rdb.sharding.keygen.DefaultKeyGenerator</node>
<node x="887.9711538461539" y="79.0">com.dangdang.ddframe.rdb.sharding.routing.strategy.MultipleKeysShardingAlgorithm</node>
<node x="401.0" y="311.0">com.dangdang.ddframe.rdb.sharding.api.rule.BindingTableRule</node>
<node x="316.5" y="158.0">com.dangdang.ddframe.rdb.sharding.api.strategy.database.SingleKeyDatabaseShardingAlgorithm</node>
<node x="174.0" y="464.0">com.dangdang.ddframe.rdb.sharding.api.ShardingValue</node>
<node x="600.5" y="158.0">com.dangdang.ddframe.rdb.sharding.api.strategy.database.MultipleKeysDatabaseShardingAlgorithm</node>
<node x="1162.5" y="158.0">com.dangdang.ddframe.rdb.sharding.api.strategy.table.MultipleKeysTableShardingAlgorithm</node>
<node x="22.0" y="311.0">com.dangdang.ddframe.rdb.sharding.keygen.KeyGenerator</node>
<node x="156.0" y="538.0">com.dangdang.ddframe.rdb.sharding.hint.ShardingKey</node>
<node x="0.0" y="464.0">com.dangdang.ddframe.rdb.sharding.api.rule.DataSourceRule</node>
<node x="311.0" y="538.0">com.dangdang.ddframe.rdb.sharding.api.rule.TableRule</node>
<node x="1210.675" y="79.0">com.dangdang.ddframe.rdb.sharding.api.strategy.table.TableShardingAlgorithm</node>
<node x="902.5" y="158.0">com.dangdang.ddframe.rdb.sharding.api.strategy.table.SingleKeyTableShardingAlgorithm</node>
<node x="0.0" y="538.0">com.dangdang.ddframe.rdb.sharding.api.HintManager</node>
<node x="665.0" y="0.0">com.dangdang.ddframe.rdb.sharding.routing.strategy.ShardingAlgorithm</node>
<node x="447.0" y="538.0">com.dangdang.ddframe.rdb.sharding.constant.SQLType</node>
<node x="206.0" y="311.0">com.dangdang.ddframe.rdb.sharding.config.ShardingProperties</node>
<node x="1072.5961538461538" y="237.0">com.dangdang.ddframe.rdb.sharding.api.strategy.table.NoneTableShardingAlgorithm</node>
<node x="340.0" y="464.0">com.dangdang.ddframe.rdb.sharding.constant.DatabaseType</node>
<node x="36.5" y="158.0">com.dangdang.ddframe.rdb.sharding.api.strategy.database.NoneKeyDatabaseShardingAlgorithm</node>
<node x="504.0" y="464.0">com.dangdang.ddframe.rdb.sharding.api.rule.ShardingRule</node>
<node x="469.4711538461539" y="237.0">com.dangdang.ddframe.rdb.sharding.api.strategy.database.NoneDatabaseShardingAlgorithm</node>
</nodes>
<notes />
<edges>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.table.MultipleKeysTableShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.MultipleKeysShardingAlgorithm">
<point x="-64.5" y="-14.5" />
<point x="1227.0" y="128.0" />
<point x="1056.7211538461538" y="128.0" />
<point x="56.249999999999886" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.database.NoneDatabaseShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.api.strategy.database.MultipleKeysDatabaseShardingAlgorithm">
<point x="59.25" y="-14.5" />
<point x="647.2211538461539" y="212.0" />
<point x="741.5" y="212.0" />
<point x="0.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.table.SingleKeyTableShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.SingleKeyShardingAlgorithm">
<point x="-60.0" y="-14.5" />
<point x="962.5" y="128.0" />
<point x="804.0961538461539" y="128.0" />
<point x="51.75" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.routing.strategy.MultipleKeysShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.ShardingAlgorithm">
<point x="-1.1368683772161603E-13" y="-14.5" />
<point x="1000.4711538461538" y="59.0" />
<point x="767.9" y="59.0" />
<point x="29.399999999999977" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.database.SingleKeyDatabaseShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.api.strategy.database.DatabaseShardingAlgorithm">
<point x="-66.0" y="-14.5" />
<point x="382.5" y="138.0" />
<point x="423.98846153846165" y="138.0" />
<point x="0.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.keygen.DefaultKeyGenerator" target="com.dangdang.ddframe.rdb.sharding.keygen.KeyGenerator">
<point x="0.0" y="-14.5" />
<point x="0.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.table.NoneTableShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.api.strategy.table.MultipleKeysTableShardingAlgorithm">
<point x="53.25" y="-14.5" />
<point x="1232.3461538461538" y="212.0" />
<point x="1291.5" y="212.0" />
<point x="0.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.database.SingleKeyDatabaseShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.SingleKeyShardingAlgorithm">
<point x="66.0" y="-14.5" />
<point x="514.5" y="138.0" />
<point x="700.5961538461539" y="138.0" />
<point x="-51.75" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.table.NoneTableShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.api.strategy.table.SingleKeyTableShardingAlgorithm">
<point x="-53.25" y="-14.5" />
<point x="1125.8461538461538" y="212.0" />
<point x="1022.5" y="212.0" />
<point x="0.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.database.MultipleKeysDatabaseShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.api.strategy.database.DatabaseShardingAlgorithm">
<point x="-70.5" y="-14.5" />
<point x="671.0" y="128.0" />
<point x="491.98846153846165" y="128.0" />
<point x="68.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.routing.strategy.NoneKeyShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.ShardingAlgorithm">
<point x="0.0" y="-14.5" />
<point x="101.5" y="49.0" />
<point x="679.7" y="49.0" />
<point x="-58.799999999999955" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.database.DatabaseShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.ShardingAlgorithm">
<point x="5.6843418860808015E-14" y="-14.5" />
<point x="423.9884615384617" y="59.0" />
<point x="709.1" y="59.0" />
<point x="-29.399999999999977" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.database.NoneKeyDatabaseShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.NoneKeyShardingAlgorithm">
<point x="-65.0" y="-14.5" />
<point x="0.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.routing.strategy.SingleKeyShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.ShardingAlgorithm">
<point x="0.0" y="-14.5" />
<point x="752.3461538461539" y="59.0" />
<point x="738.5" y="59.0" />
<point x="0.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.table.SingleKeyTableShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.api.strategy.table.TableShardingAlgorithm">
<point x="60.0" y="-14.5" />
<point x="1082.5" y="138.0" />
<point x="1255.675" y="138.0" />
<point x="-45.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.database.NoneKeyDatabaseShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.api.strategy.database.DatabaseShardingAlgorithm">
<point x="65.0" y="-14.5" />
<point x="231.5" y="138.0" />
<point x="355.98846153846165" y="138.0" />
<point x="-68.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.database.NoneDatabaseShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.api.strategy.database.SingleKeyDatabaseShardingAlgorithm">
<point x="-59.25" y="-14.5" />
<point x="528.7211538461539" y="212.0" />
<point x="448.5" y="212.0" />
<point x="0.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.table.TableShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.ShardingAlgorithm">
<point x="0.0" y="-14.5" />
<point x="1300.675" y="49.0" />
<point x="797.3" y="49.0" />
<point x="58.799999999999955" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.table.MultipleKeysTableShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.api.strategy.table.TableShardingAlgorithm">
<point x="64.5" y="-14.5" />
<point x="1356.0" y="138.0" />
<point x="1345.675" y="138.0" />
<point x="45.0" y="14.5" />
</edge>
<edge source="com.dangdang.ddframe.rdb.sharding.api.strategy.database.MultipleKeysDatabaseShardingAlgorithm" target="com.dangdang.ddframe.rdb.sharding.routing.strategy.MultipleKeysShardingAlgorithm">
<point x="70.5" y="-14.5" />
<point x="812.0" y="138.0" />
<point x="944.2211538461539" y="138.0" />
<point x="-56.25" y="14.5" />
</edge>
</edges>
<settings layout="Hierarchic Group" zoom="1.0" x="710.5" y="283.5" />
<SelectedNodes />
<Categories />
<SCOPE>All</SCOPE>
<VISIBILITY>private</VISIBILITY>
</Diagram>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化