Introduce host::HostParseNode to the API

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As part of this ticket, introduce host: : ParseNode to the API.

      host: : ParseNode implements ::MongoExtensionAggregationStageParseNode, which for now, will just wrap a BSONObj with the specification of the stage which the extension is desugaring into. During expansion, the Host is responsible for detecting any host::HostParseNode instances, and in those cases, the Host will parse the BSON into a DocumentSource or a LiteParsedDocumentSource, depending on where expansion is taking place.

       

      As part of this ticket:

      • Implement the host: : ParseNode, host adapter & sdk handle.
      • Add unit tests.

            Assignee:
            Cedric Sirianni
            Reporter:
            Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: