源碼解析 Sharding-Jdbc模組分析__源碼

來源:互聯網
上載者:User

最新的2.0版本的Sharding-Jdbc版本,由於需要支援動態配置載入,所以最新的模組資訊如下:

|-sharding-jdbc    |-sharding-jdbc-core        |-api        |-constant        |-exception        |-executor        |-hint        |-jdbc        |-keygen        |-merger        |-parsing        |-rewrite        |-routing        |-rule        |-util        |-yaml    |-sharding-jdbc-orchestration    |-sharding-jdbc-orchestration-spring    |-sharding-jdbc-spring    |-sharding-jdbc-transaction-parent

其中各個模組的內容如下:
- sharding-jdbc-core:核心模組,主要包含的是一個分庫分表、讀寫分離的中介軟體的核心內容,包括規則配置、sql解析、sql改寫、sql路由、sql執行、結果集合并等。
- rule:規則配置
- parsing:sql解析
- rewrite:sql改寫
- routing:sql路由
- executor:sql執行
- merger:結果集合并
- jdbc:jdbc改寫,項目的核心
- keygen:分布式id產生
- sharding-jdbc-orchestration:動態配置,配置中心的一些操作內容
- sharding-jdbc-orchestration-spring:配置中心的spring配置,包括一些spring和spring-boot設定檔的解析
- sharding-jdbc-spring:sharding-jdbc的spring和spring-boot配置內容解析器
- sharding-jdbc-transaction-parent:柔性事務相關內容

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.