Package com.onec.query
Class SqlRenderer
java.lang.Object
com.onec.query.SqlRenderer
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").
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordPre-rendered SQL fragments for one statement. -
Method Summary
-
Method Details
-
render
-