summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document.h')
-rw-r--r--src/mongo/db/pipeline/document.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/pipeline/document.h b/src/mongo/db/pipeline/document.h
index c6a100c954b..5010f69b5fa 100644
--- a/src/mongo/db/pipeline/document.h
+++ b/src/mongo/db/pipeline/document.h
@@ -201,14 +201,6 @@ public:
return storage().getTextScore();
}
- static const StringData metaFieldRandVal; // "$randVal"
- bool hasRandMetaField() const {
- return storage().hasRandMetaField();
- }
- int64_t getRandMetaField() const {
- return storage().getRandMetaField();
- }
-
/// members for Sorter
struct SorterDeserializeSettings {}; // unused
void serializeForSorter(BufBuilder& buf) const;
@@ -429,10 +421,6 @@ public:
storage().setTextScore(score);
}
- void setRandMetaField(int64_t val) {
- storage().setRandMetaField(val);
- }
-
/** Convert to a read-only document and release reference.
*
* Call this to indicate that you are done with this Document and will