diff options
Diffstat (limited to 'src/mongo/db/exec/document_value/document.h')
| -rw-r--r-- | src/mongo/db/exec/document_value/document.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/exec/document_value/document.h b/src/mongo/db/exec/document_value/document.h index 6114aee792d..4ff1522f3a9 100644 --- a/src/mongo/db/exec/document_value/document.h +++ b/src/mongo/db/exec/document_value/document.h @@ -254,6 +254,13 @@ public: return storage().shred(); } + /** + * Loads the whole document into cache. + */ + void loadIntoCache() const { + return storage().loadIntoCache(); + } + /** Calculate a hash value. * * Meant to be used to create composite hashes suitable for |
