summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_sort.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_sort.h')
-rw-r--r--src/mongo/db/pipeline/document_source_sort.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/pipeline/document_source_sort.h b/src/mongo/db/pipeline/document_source_sort.h
index d28e29a77ea..f0ab0c28a3c 100644
--- a/src/mongo/db/pipeline/document_source_sort.h
+++ b/src/mongo/db/pipeline/document_source_sort.h
@@ -72,14 +72,14 @@ public:
void serializeToArray(
std::vector<Value>& array,
- const SerializationOptions& opts = SerializationOptions{}) const final override;
+ boost::optional<ExplainOptions::Verbosity> explain = boost::none) const final;
boost::intrusive_ptr<DocumentSource> clone(
const boost::intrusive_ptr<ExpressionContext>& newExpCtx) const final;
GetModPathsReturn getModifiedPaths() const final {
// A $sort does not modify any paths.
- return {GetModPathsReturn::Type::kFiniteSet, OrderedPathSet{}, {}};
+ return {GetModPathsReturn::Type::kFiniteSet, std::set<std::string>{}, {}};
}
StageConstraints constraints(Pipeline::SplitState) const final {
@@ -102,7 +102,7 @@ public:
boost::optional<DistributedPlanLogic> distributedPlanLogic() final;
bool canRunInParallelBeforeWriteStage(
- const OrderedPathSet& nameOfShardKeyFieldsUponEntryToStage) const final;
+ const std::set<std::string>& nameOfShardKeyFieldsUponEntryToStage) const final;
/**
* Returns the sort key pattern.
@@ -201,8 +201,8 @@ private:
uint64_t limit,
uint64_t maxMemoryUsageBytes);
- Value serialize(const SerializationOptions& opts) const final override {
- MONGO_UNREACHABLE_TASSERT(7484302); // Should call serializeToArray instead.
+ Value serialize(boost::optional<ExplainOptions::Verbosity> explain = boost::none) const final {
+ MONGO_UNREACHABLE; // Should call serializeToArray instead.
}
/**