diff options
author | Drew Paroski <drew.paroski@mongodb.com> | 2021-10-13 20:20:05 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-16 00:29:02 +0000 |
commit | 1b95b9f923a5bcbdd755672abffc3c14d1a4d7db (patch) | |
tree | 2b9aadbf9e80acfb16758815633f676e8a73eef3 /src/mongo/db/keypattern.h | |
parent | e77eda3f09dcd2be820b1f1eec7ce8ac6c0cf477 (diff) | |
download | mongo-1b95b9f923a5bcbdd755672abffc3c14d1a4d7db.tar.gz |
SERVER-60273 Calculate the estimated size for missing types in sbe::value::getApproximateSize()
Diffstat (limited to 'src/mongo/db/keypattern.h')
-rw-r--r-- | src/mongo/db/keypattern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/keypattern.h b/src/mongo/db/keypattern.h index eb3c9d9da41..986d259eebd 100644 --- a/src/mongo/db/keypattern.h +++ b/src/mongo/db/keypattern.h @@ -125,6 +125,8 @@ public: BSONObj globalMax() const; + size_t getApproximateSize() const; + private: BSONObj _pattern; }; |