Add agg::Stage::serializeForExplain() virtual method as a first step towards more systematic construction of the explain command output.
Ideally, the result of this method is typed (e.g., generated by IDL), but it can also be a Document for now.
- is depended on by
-
SERVER-109310 Audit serialize() and serializeToArray() overrides for splitting explain output generation
-
- Needs Scheduling
-