exasol / sql-statement-builder

Build SQL statements safely without string concatenation
MIT License
25 stars 4 forks source link

Refactor/95 value expression visitor #101

Closed jakobbraun closed 3 years ago

jakobbraun commented 4 years ago

Closes #95 Closes #100

jakobbraun commented 4 years ago

The combining of BooleanExpressionRenderer and ValueExpressionRenderer has the advantage that for complex structures still only one visitor instance is needed. That saves memmory in runtime.

jakobbraun commented 4 years ago

I removed the TreeNode structure since it was not used consequently and could easily be replaced by a few logic in the ValueExpressionRenderer

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

99.2% 99.2% Coverage
0.0% 0.0% Duplication