diff options
author | Davis Haupt <davis.haupt@mongodb.com> | 2019-06-04 14:04:09 -0400 |
---|---|---|
committer | Davis Haupt <davis.haupt@mongodb.com> | 2019-06-17 16:56:05 -0400 |
commit | 0b6d829a370bd29c95cfb1016d13549428e69434 (patch) | |
tree | 7a4c9161c49b0d0a44e5b508a6e31f6b8ce446b6 /src | |
parent | e45441ca46ff35e5ff8d4ca6dbe159996c87d007 (diff) | |
download | mongo-0b6d829a370bd29c95cfb1016d13549428e69434.tar.gz |
SERVER-39805 [FLE] add support for in MatchExpression
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/matcher/expression_expr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/matcher/expression_expr.h b/src/mongo/db/matcher/expression_expr.h index 72c947c2c5b..1865025ea30 100644 --- a/src/mongo/db/matcher/expression_expr.h +++ b/src/mongo/db/matcher/expression_expr.h @@ -83,6 +83,14 @@ public: return nullptr; } + boost::intrusive_ptr<ExpressionContext> getExpressionContext() { + return _expCtx; + } + + boost::intrusive_ptr<Expression> getExpression() { + return _expression; + } + private: ExpressionOptimizerFunc getOptimizer() const final; |