Comunica
    Preparing search index...

    A physical query plan logger that stores everything in memory.

    Implements

    Index

    Constructors

    Methods

    • Associate a query operation output with the given node, and start measuring it.

      An operation that passes its input's output through unchanged, such as a wrapping join, registers an output that was already registered by the operation below it. The last registration wins.

      Parameters

      • output: unknown

        A query operation output.

      • node: MemoryPlanNode

        The node that produced the output.

      Returns void

    • Serialize the collected query plan as an indented tree.

      Parameters

      • statistics: boolean

        If the measurements of each operator are included. Without them the plan only says what ran, which is what most readers are after; with them every line also reports how much it produced and how long it took.

      Returns string

    • Summarize a group of repeated occurrences as a suffix for the compact plan.

      Parameters

      • child: IPlanNodeJsonChildCompact

        A group of repeated occurrences.

      • statistics: boolean

        If the totals of the group are included.

      Returns string