QueryExplanation
class in package klyn.data

    public final class QueryExplanation:

QueryExplanation

Immutable diagnostic description of a compiled query and provider plan.

Parameter values and credentials are never included. Providers may add warnings about determinism, buffering, policies, or unsupported estimates.

    explanation = query.explain()
    print(explanation.provider)
    print(explanation.providerPlan)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | normalizedQuery `normalizedQuery as String` | Normalized provider-neutral query summary.
public readonly property | provider `provider as String` | Provider identifier.
public readonly property | providerPlan `providerPlan as String` | Provider plan or provider-specific diagnostic text.
public readonly property | warnings `warnings as IList<String>` | Immutable snapshot of warnings attached to the plan.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | QueryExplanation `QueryExplanation( normalizedQuery as String, provider as String, providerPlan as String, warnings as IList<String> = [] ):` | Creates a query explanation.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public override | toString `toString() as String:` | Returns a concise readable explanation.