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.
The current logical query operator.
The current physical query operator. This may be omitted if no physical operator applies.
The current operation node.
The parent operation node.
The current actor name.
Metadata to include together in the physical query plan output for this node.
Serialize the collected query plan to JSON.
A physical query plan logger collects operations, which can then be serialized as a query plan to JSON.