SQLQueryTranslation
class in package klyn.data.sql.internal

    public final class SQLQueryTranslation:

SQLQueryTranslation

Immutable result of lowering canonical QIR to the structured SQL AST.

    translation = translator.translate(plan)
    command = translation.statement.render(dialect)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | projection `projection as QirExpression` | Canonical projection retained for typed row materialization.
public readonly property | statement `statement as SQLSelectStatement` | Structured SQL statement ready for dialect rendering.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | SQLQueryTranslation `SQLQueryTranslation(statement as SQLSelectStatement, projection as QirExpression):` | Creates one complete provider translation.