diff options
author | Xinhao Zhang <xinhao.zhang@mongodb.com> | 2019-08-16 20:43:48 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-08-16 20:43:48 +0000 |
commit | f83f5784ea56d8158f8da654a964d1cd1d142648 (patch) | |
tree | d3cac5b51ef6ed7b1f727773a155fc17af3c3694 /src/mongo/db/pipeline/document_source_lookup.h | |
parent | 25418e659b3ed6d09a41c147683fa9493d1ffa29 (diff) | |
download | mongo-f83f5784ea56d8158f8da654a964d1cd1d142648.tar.gz |
SERVER-42584 PlanStageStats in aggregation
Diffstat (limited to 'src/mongo/db/pipeline/document_source_lookup.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_lookup.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_lookup.h b/src/mongo/db/pipeline/document_source_lookup.h index d885dc5bcff..b618ec6230f 100644 --- a/src/mongo/db/pipeline/document_source_lookup.h +++ b/src/mongo/db/pipeline/document_source_lookup.h @@ -49,6 +49,7 @@ namespace mongo { class DocumentSourceLookUp final : public DocumentSource { public: static constexpr size_t kMaxSubPipelineDepth = 20; + static constexpr StringData kStageName = "$lookup"_sd; struct LetVariable { LetVariable(std::string name, boost::intrusive_ptr<Expression> expression, Variables::Id id) @@ -112,7 +113,6 @@ public: const boost::optional<LiteParsedPipeline> _liteParsedPipeline; }; - GetNextResult getNext() final; const char* getSourceName() const final; void serializeToArray( std::vector<Value>& array, @@ -220,6 +220,7 @@ public: } protected: + GetNextResult doGetNext() final; void doDispose() final; /** |