summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/plan_executor.h')
-rw-r--r--src/mongo/db/query/plan_executor.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/query/plan_executor.h b/src/mongo/db/query/plan_executor.h
index 9748e3de303..80857984d3e 100644
--- a/src/mongo/db/query/plan_executor.h
+++ b/src/mongo/db/query/plan_executor.h
@@ -359,6 +359,13 @@ public:
*/
virtual void enableSaveRecoveryUnitAcrossCommandsIfSupported() = 0;
virtual bool isSaveRecoveryUnitAcrossCommandsEnabled() const = 0;
+
+ /**
+ * For queries that have multiple executors, this can be used to differentiate between them.
+ */
+ virtual boost::optional<StringData> getExecutorType() const {
+ return boost::none;
+ }
};
} // namespace mongo