summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2021-10-07 23:13:14 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-07 23:36:24 +0000
commit16a513b58bed6118185838c7c49c6f025d17b844 (patch)
tree04ecfe1a99f5eda28160ac8d659a113fbc23189a /src
parent749d18149e33b9bb1df781505daf6fdea6f34ce0 (diff)
downloadmongo-16a513b58bed6118185838c7c49c6f025d17b844.tar.gz
SERVER-60545 Remove unused function headers from timeseries_update_delete_util.h
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/timeseries/timeseries_update_delete_util.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mongo/db/timeseries/timeseries_update_delete_util.h b/src/mongo/db/timeseries/timeseries_update_delete_util.h
index 0688cf8588a..90c9504ca47 100644
--- a/src/mongo/db/timeseries/timeseries_update_delete_util.h
+++ b/src/mongo/db/timeseries/timeseries_update_delete_util.h
@@ -29,31 +29,10 @@
#pragma once
-#include <set>
-
#include "mongo/bson/bsonobj.h"
-#include "mongo/db/operation_context.h"
#include "mongo/db/ops/write_ops_gen.h"
namespace mongo::timeseries {
-
-/**
- * Returns true if the given query, represented by its dependent fields, only modifies the
- * time-series collection's given metaField, false otherwise.
- */
-bool queryOnlyDependsOnMetaField(boost::optional<StringData> metaField,
- const std::set<std::string>& dependencyFieldNames);
-
-/**
- * Returns true if the given update modification only modifies the time-series collection's given
- * metaField, false otherwise. Requires that the update is not a delta update, and throws an
- * exception if the update is not an update document (e.g. is a pipeline update or a replacement
- * document).
- */
-bool updateOnlyModifiesMetaField(OperationContext* opCtx,
- const write_ops::UpdateModification& updateMod,
- StringData metaField);
-
/**
* Translates the given query on the time-series collection to a query on the time-series
* collection's underlying buckets collection. Creates and returns a translated query document where
@@ -62,7 +41,6 @@ bool updateOnlyModifiesMetaField(OperationContext* opCtx,
*/
BSONObj translateQuery(const BSONObj& query, StringData metaField);
-
/**
* Translates the given update on the time-series collection to an update on the time-series
* collection's underlying buckets collection. Creates and returns a translated UpdateModification