Skip to content

Decouple ParameterBuilder and route#3214

Merged
terrymanu merged 8 commits intoapache:devfrom
terrymanu:issue3139
Oct 10, 2019
Merged

Decouple ParameterBuilder and route#3214
terrymanu merged 8 commits intoapache:devfrom
terrymanu:issue3139

Conversation

@terrymanu
Copy link
Member

Fixes #3139.

@terrymanu terrymanu added this to the 4.0.0-RC3 milestone Oct 10, 2019
@coveralls
Copy link

Pull Request Test Coverage Report for Build 566

  • 46 of 49 (93.88%) changed or added relevant lines in 10 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.04%) to 67.635%

Changes Missing Coverage Covered Lines Changed/Added Lines %
sharding-core/sharding-core-rewrite/src/main/java/org/apache/shardingsphere/core/rewrite/feature/sharding/engine/ShardingSQLRewriteEngine.java 17 20 85.0%
Totals Coverage Status
Change from base Build 455: -0.04%
Covered Lines: 11176
Relevant Lines: 16524

💛 - Coveralls

@terrymanu terrymanu merged commit 55b311f into apache:dev Oct 10, 2019
@terrymanu terrymanu deleted the issue3139 branch October 10, 2019 13:54
Pramy pushed a commit to Pramy/sharding-sphere that referenced this pull request Oct 10, 2019
* remove getter of GroupedParameterBuilder.parameterGroups

* rename GroupedParameterBuilder.parameterGroups to groupedParameters

* add GroupedParameterBuilder.getParameters(count)

* move sharding logic from GroupedParameterBuilder to ShardingSQLRewriteEngine

* remove GroupedParameterBuilder.shardingConditions

* refactor ShardingSQLRewriteEngine

* reuse StandardParameterBuilder on GroupedParameterBuilder

* refactor ParameterRewriterBuilder.getParameterRewriters()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decouple with rewrite module and concrete features

3 participants