Class SqlRenderer

java.lang.Object
com.onec.query.SqlRenderer

public final class SqlRenderer extends Object
The shared SELECT … FROM … JOIN … WHERE … GROUP BY … ORDER BY assembler. Both the general query engine and the register virtual tables build a SqlRenderer.RenderModel of already-resolved SQL fragments and hand it here, so there is exactly one place that stitches a query string together. Parameter binding stays with the caller (it owns the value map); this class only concerns itself with the SQL text.

It deliberately knows nothing about descriptors, refs, or register semantics — those live in JoinWalker / QueryEngine and RegisterPersistence respectively. Fragments arrive pre-rendered (e.g. a select item is already "SUM(qty) AS qty", a where clause already "_active = TRUE").