SHARDING-JDBC module Analysis of "Source code parsing"

Source: Internet
Author: User

The latest version of the 2.0 version of SHARDING-JDBC, due to the need to support dynamic configuration loading, so the latest module information is as follows:

|-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

The contents of each module are as follows:

    • Sharding-jdbc-core: Core module, mainly includes a sub-database sub-table, read and write separation of the core content of the middleware, including rule configuration, SQL parsing, SQL rewrite, SQL routing, SQL execution, result set merging and so on.
      • Rule: Rules Configuration
      • Parsing:sql parsing
      • Rewrite:sql rewrite
      • Routing:sql Routing
      • Executor:sql execution
      • Merger: Result set Merging
      • Jdbc:jdbc Rewrite, the core of the project
      • KEYGEN: Distributed ID generation
    • Sharding-jdbc-orchestration: Dynamic configuration, Configuration center of some action content
    • Sharding-jdbc-orchestration-spring: Spring configuration of the configuration center, including parsing of some spring and spring-boot configuration files
    • SHARDING-JDBC-SPRING:SHARDING-JDBC Spring and Spring-boot configuration content Parser
    • Sharding-jdbc-transaction-parent: Flexible Transaction related content

SHARDING-JDBC module Analysis of "Source code parsing"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.