summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/sbe_stage_builder_expression.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/sbe_stage_builder_expression.h')
-rw-r--r--src/mongo/db/query/sbe_stage_builder_expression.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/query/sbe_stage_builder_expression.h b/src/mongo/db/query/sbe_stage_builder_expression.h
index 3d148113f89..78b4774f807 100644
--- a/src/mongo/db/query/sbe_stage_builder_expression.h
+++ b/src/mongo/db/query/sbe_stage_builder_expression.h
@@ -38,6 +38,8 @@
#include "mongo/db/query/sbe_stage_builder_helpers.h"
namespace mongo::stage_builder {
+class PlanStageSlots;
+
/**
* Translates an input Expression into an SBE EExpression. The 'stage' parameter provides the input
* subtree to build on top of.
@@ -46,7 +48,8 @@ EvalExprStagePair generateExpression(StageBuilderState& state,
const Expression* expr,
EvalStage stage,
boost::optional<sbe::value::SlotId> optionalRootSlot,
- PlanNodeId planNodeId);
+ PlanNodeId planNodeId,
+ const PlanStageSlots* slots = nullptr);
/**
* Generate an EExpression that converts a value (contained in a variable bound to 'branchRef') that