summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/stage_types.h
diff options
context:
space:
mode:
authorEric Cox <eric.cox@mongodb.com>2020-10-23 14:44:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-11 14:26:55 +0000
commitb43f6fefe1ac3e941fd55d5452a1ee21e7ff0ae6 (patch)
tree79f280087ed6024bab99f8315eb5723459b1adce /src/mongo/db/query/stage_types.h
parent8e7b31355bfce777f46d77c960257b1801a714b0 (diff)
downloadmongo-b43f6fefe1ac3e941fd55d5452a1ee21e7ff0ae6.tar.gz
SERVER-51788 Implement infrastructure for testing SBE stage builder
Diffstat (limited to 'src/mongo/db/query/stage_types.h')
-rw-r--r--src/mongo/db/query/stage_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/query/stage_types.h b/src/mongo/db/query/stage_types.h
index 6b16e4575d0..882d0bf032b 100644
--- a/src/mongo/db/query/stage_types.h
+++ b/src/mongo/db/query/stage_types.h
@@ -52,6 +52,10 @@ enum StageType {
STAGE_CACHED_PLAN,
STAGE_COLLSCAN,
+ // A virtual scan stage that simulates a collection scan and doesn't depend on underlying
+ // storage.
+ STAGE_VIRTUAL_SCAN,
+
// This stage sits at the root of the query tree and counts up the number of results
// returned by its child.
STAGE_COUNT,