summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_executor_impl.h
diff options
context:
space:
mode:
authorAnton Korshunov <anton.korshunov@mongodb.com>2020-09-21 15:50:24 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-28 13:01:11 +0000
commitb541c8a5d2475600d5d96030a08ba5b71aa1afeb (patch)
tree76a775a59de4fb84ec241bb41fa58d9644f28802 /src/mongo/db/query/plan_executor_impl.h
parent57e835f2d5384887c4dd73f388946bcdc7c4e136 (diff)
downloadmongo-b541c8a5d2475600d5d96030a08ba5b71aa1afeb.tar.gz
SERVER-50946 Create PlanExplainer interface and implementations
Diffstat (limited to 'src/mongo/db/query/plan_executor_impl.h')
-rw-r--r--src/mongo/db/query/plan_executor_impl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/query/plan_executor_impl.h b/src/mongo/db/query/plan_executor_impl.h
index 651937eeb3f..61eae2bf06f 100644
--- a/src/mongo/db/query/plan_executor_impl.h
+++ b/src/mongo/db/query/plan_executor_impl.h
@@ -87,9 +87,7 @@ public:
Timestamp getLatestOplogTimestamp() const final;
BSONObj getPostBatchResumeToken() const final;
LockPolicy lockPolicy() const final;
- std::string getPlanSummary() const final;
- void getSummaryStats(PlanSummaryStats* statsOut) const final;
- BSONObj getStats() const final;
+ const PlanExplainer& getPlanExplainer() const final;
/**
* Same as restoreState() but without the logic to retry if a WriteConflictException is thrown.
@@ -148,6 +146,7 @@ private:
std::unique_ptr<WorkingSet> _workingSet;
std::unique_ptr<QuerySolution> _qs;
std::unique_ptr<PlanStage> _root;
+ std::unique_ptr<PlanExplainer> _planExplainer;
// If _killStatus has a non-OK value, then we have been killed and the value represents the
// reason for the kill.