summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source.h')
-rw-r--r--src/mongo/db/pipeline/document_source.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source.h b/src/mongo/db/pipeline/document_source.h
index fab65e25173..994f17151b3 100644
--- a/src/mongo/db/pipeline/document_source.h
+++ b/src/mongo/db/pipeline/document_source.h
@@ -599,6 +599,12 @@ public:
BSONObjBuilder* builder) const = 0;
/**
+ * Appends the record count for collection "nss" to "builder".
+ */
+ virtual Status appendRecordCount(const NamespaceString& nss,
+ BSONObjBuilder* builder) const = 0;
+
+ /**
* Gets the collection options for the collection given by 'nss'.
*/
virtual BSONObj getCollectionOptions(const NamespaceString& nss) = 0;