summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection.h')
-rw-r--r--src/mongo/db/catalog/collection.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection.h b/src/mongo/db/catalog/collection.h
index 951639e0db7..b5212dea20d 100644
--- a/src/mongo/db/catalog/collection.h
+++ b/src/mongo/db/catalog/collection.h
@@ -565,6 +565,12 @@ public:
virtual void setMinimumVisibleSnapshot(const Timestamp name) = 0;
/**
+ * Returns the time-series options for this buckets collection, or boost::none if not a
+ * time-series buckets collection.
+ */
+ virtual boost::optional<TimeseriesOptions> getTimeseriesOptions() const = 0;
+
+ /**
* Get a pointer to the collection's default collator. The pointer must not be used after this
* Collection is destroyed.
*/