Comunica
    Preparing search index...

    Interface IPhysicalQueryPlanNode

    A handle to a single node within a physical query plan.

    interface IPhysicalQueryPlanNode {
        adoptInput: (node: IPhysicalQueryPlanNode) => void;
        appendMetadata: (metadata: any) => void;
        setOutput: (output: unknown) => void;
    }

    Implemented by

    Index

    Properties

    adoptInput: (node: IPhysicalQueryPlanNode) => void

    Adopt the given node as an input of this node, moving it and its subtree out of its current parent.

    This is needed by operations that only learn which node their inputs belong under after those inputs have already been executed, such as join actors that are selected after their entries have been evaluated.

    Type Declaration

    appendMetadata: (metadata: any) => void

    Append the given metadata to this node.

    Type Declaration

      • (metadata: any): void
      • Parameters

        • metadata: any

          The metadata to add.

        Returns void

    setOutput: (output: unknown) => void

    Associate the given query operation output with this node.

    This lets consumers of the output find this node via IPhysicalQueryPlanLogger#getNodeForOutput, and lets the logger measure the output, so that the node reports how many results it produced and how long that took.

    Type Declaration

      • (output: unknown): void
      • Parameters

        • output: unknown

          A query operation output.

        Returns void