A physical query plan logger that stores everything in memory.

Implements

Constructors

Methods

  • Log an operation.

    Important here is that the node and parentNode can be of any type, as long as they properly reference each other in subsequent calls. These node references can be used to build up a hierarchy.

    Parameters

    • logicalOperator: string

      The current logical query operator.

    • physicalOperator: undefined | string

      The current physical query operator. This may be omitted if no physical operator applies.

    • node: any

      The current operation node.

    • parentNode: any

      The parent operation node.

    • actor: string

      The current actor name.

    • metadata: any

      Metadata to include together in the physical query plan output for this node.

    Returns void