summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_array.h')
-rw-r--r--src/mongo/db/matcher/expression_array.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mongo/db/matcher/expression_array.h b/src/mongo/db/matcher/expression_array.h
index 10f30629c92..1b6cb5dfcc9 100644
--- a/src/mongo/db/matcher/expression_array.h
+++ b/src/mongo/db/matcher/expression_array.h
@@ -90,9 +90,7 @@ public:
virtual void debugString(StringBuilder& debug, int indentationLevel) const;
- void appendSerializedRightHandSide(BSONObjBuilder* bob,
- const SerializationOptions& opts = {},
- bool includePath = true) const final;
+ BSONObj getSerializedRightHandSide() const final;
std::vector<std::unique_ptr<MatchExpression>>* getChildVector() final {
return nullptr;
@@ -159,9 +157,7 @@ public:
virtual void debugString(StringBuilder& debug, int indentationLevel) const;
- void appendSerializedRightHandSide(BSONObjBuilder* bob,
- const SerializationOptions& opts = {},
- bool includePath = true) const final;
+ BSONObj getSerializedRightHandSide() const final;
std::vector<std::unique_ptr<MatchExpression>>* getChildVector() final {
return &_subs;
@@ -234,9 +230,7 @@ public:
virtual void debugString(StringBuilder& debug, int indentationLevel) const;
- void appendSerializedRightHandSide(BSONObjBuilder* bob,
- const SerializationOptions& opts = {},
- bool includePath = true) const final;
+ BSONObj getSerializedRightHandSide() const final;
virtual bool equivalent(const MatchExpression* other) const;