summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.h')
-rw-r--r--src/mongo/db/catalog/collection_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection_impl.h b/src/mongo/db/catalog/collection_impl.h
index 2599471052e..ced40206173 100644
--- a/src/mongo/db/catalog/collection_impl.h
+++ b/src/mongo/db/catalog/collection_impl.h
@@ -365,6 +365,8 @@ public:
*/
void setMinimumVisibleSnapshot(Timestamp newMinimumVisibleSnapshot) final;
+ boost::optional<TimeseriesOptions> getTimeseriesOptions() const final;
+
/**
* Get a pointer to the collection's default collator. The pointer must not be used after this
* Collection is destroyed.
@@ -503,6 +505,9 @@ private:
// Whether or not this collection is clustered on _id values.
bool _clustered = false;
+ // If this is a time-series buckets collection, the metadata for this collection.
+ boost::optional<TimeseriesOptions> _timeseriesOptions;
+
bool _recordPreImages = false;
// The earliest snapshot that is allowed to use this collection.