summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/value.h
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2017-08-03 13:55:23 -0400
committerMatthew Russotto <matthew.russotto@10gen.com>2017-08-03 14:32:12 -0400
commit0686b1ed2d042ad5adb671912e7d6b9cc89d0c4f (patch)
tree5fe3f0a6d4e8445eaec46b564b55cfc6753cbcac /src/mongo/db/pipeline/value.h
parent07d4d94b06c6899699410312e20ef33d954ddbd1 (diff)
downloadmongo-0686b1ed2d042ad5adb671912e7d6b9cc89d0c4f.tar.gz
SERVER-29131 Support resumeAfter option to control where to start returning notifications from, which always errors if no entry with the given resumeToken exists
Diffstat (limited to 'src/mongo/db/pipeline/value.h')
-rw-r--r--src/mongo/db/pipeline/value.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/value.h b/src/mongo/db/pipeline/value.h
index 04e396dc58d..40c05d89b9a 100644
--- a/src/mongo/db/pipeline/value.h
+++ b/src/mongo/db/pipeline/value.h
@@ -328,6 +328,11 @@ public:
return *this;
}
+ /// Members to support parsing/deserialization from IDL generated code.
+ void serializeForIDL(StringData fieldName, BSONObjBuilder* builder) const;
+ void serializeForIDL(BSONArrayBuilder* builder) const;
+ static Value deserializeForIDL(const BSONElement& element);
+
private:
/** This is a "honeypot" to prevent unexpected implicit conversions to the accepted argument
* types. bool is especially bad since without this it will accept any pointer.