summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner.h
diff options
context:
space:
mode:
authorIrina Yatsenko <irina.yatsenko@mongodb.com>2022-02-10 18:54:13 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-10 21:20:17 +0000
commit80224491b2f8341930d6b1f45ff935367ee2538f (patch)
tree7b33769f514a9865b3425448825fc237fecfada2 /src/mongo/db/query/query_planner.h
parent26292d02824c0e804eea510302019add57b6cccc (diff)
downloadmongo-80224491b2f8341930d6b1f45ff935367ee2538f.tar.gz
SERVER-58426 Implement $lookup planning logic
Co-authored-by: Mihai Andrei <mihai.andrei@mongodb.com>
Diffstat (limited to 'src/mongo/db/query/query_planner.h')
-rw-r--r--src/mongo/db/query/query_planner.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_planner.h b/src/mongo/db/query/query_planner.h
index e0de1231f12..170083d523b 100644
--- a/src/mongo/db/query/query_planner.h
+++ b/src/mongo/db/query/query_planner.h
@@ -32,6 +32,7 @@
#include "mongo/base/string_data.h"
#include "mongo/db/query/canonical_query.h"
#include "mongo/db/query/classic_plan_cache.h"
+#include "mongo/db/query/multi_collection.h"
#include "mongo/db/query/query_planner_params.h"
#include "mongo/db/query/query_solution.h"
@@ -91,7 +92,9 @@ public:
};
static std::unique_ptr<QuerySolution> extendWithAggPipeline(
- const CanonicalQuery& query, std::unique_ptr<QuerySolution>&& solution);
+ const CanonicalQuery& query,
+ std::unique_ptr<QuerySolution>&& solution,
+ const std::map<NamespaceString, SecondaryCollectionInfo>& secondaryCollInfos);
/**
* Returns the list of possible query solutions for the provided 'query' for multi-planning.