diff options
author | Ridhwaan Anayetullah <ridhwaan.any@gmail.com> | 2021-06-14 14:26:03 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-16 23:38:13 +0000 |
commit | fbddd5fdb346e7c275bd4f2532a6caadc9b53680 (patch) | |
tree | 0107eb7019a2f82dceca1564756b0a6c1b13dc4c | |
parent | 8e5680998271781fe04d9f3c87ca5e09fd2dae86 (diff) | |
download | mongo-fbddd5fdb346e7c275bd4f2532a6caadc9b53680.tar.gz |
Create skeleton InternalDocumentSourceDensify
-rw-r--r-- | src/mongo/db/pipeline/document_source_densify.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mongo/db/pipeline/document_source_densify.h b/src/mongo/db/pipeline/document_source_densify.h index ffc921d4714..5175e416a74 100644 --- a/src/mongo/db/pipeline/document_source_densify.h +++ b/src/mongo/db/pipeline/document_source_densify.h @@ -90,7 +90,9 @@ public: GeneratorState _state = GeneratorState::kGeneratingDocuments; }; - static boost::intrusive_ptr<DocumentSourceInternalDensify> create(const boost::intrusive_ptr<ExpressionContext>& pExpCtx); + + static boost::intrusive_ptr<DocumentSourceInternalDensify> create( + const boost::intrusive_ptr<ExpressionContext>& pExpCtx); static boost::intrusive_ptr<DocumentSource> createFromBson( BSONElement elem, const boost::intrusive_ptr<ExpressionContext>& pExpCtx); @@ -109,8 +111,6 @@ public: const char* getSourceName() const final { return kStageName.rawData(); } - Pipeline::SourceContainer::iterator doOptimizeAt(Pipeline::SourceContainer::iterator itr, - Pipeline::SourceContainer* container) final; Value serialize(boost::optional<ExplainOptions::Verbosity> explain = boost::none) const final; DepsTracker::State getDependencies(DepsTracker* deps) const final { @@ -126,5 +126,6 @@ public: DocumentSourceInternalDensify(const boost::intrusive_ptr<ExpressionContext>& pExpCtx); GetNextResult doGetNext() final; -}; -}; + +}; +} // namespace mongo |