-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Extension stages must be able to report fields that are referenced and added by the extension.
MongoExtensionLogicalAggregationStage vtable changes | |||
Function Name | Return Type | Parameters | Description |
get_added_metadata_fields |
|
|
Reports metadata fields added to documents by the stage. |
On success, if metadata fields are added by the stage, the MongoExtensionByteBuf is populated with a serialized BSON containing an array of strings, where each string corresponds to the metadata field that is introduced by the stage.
Ownership of the MongoExtensionByteBuf is transferred to the host.
Note, if no metadata fields are added by the stage, the MongoExtensionByteBuf is not allocated.|
get_referenced_metadata_fields |
|
|
Reports metadata fields referenced by the stage. |
On success, if metadata fields are referenced by the stage, the MongoExtensionByteBuf is populated with a serialized BSON containing an array of strings, where each string corresponds to the metadata field that is referenced by the stage.
Ownership of the MongoExtensionByteBuf is transferred to the host.
Note, if no metadata fields are referenced by the stage, the MongoExtensionByteBuf is not allocated.|