diff options
author | Denis Grebennicov <denis.grebennicov@mongodb.com> | 2021-07-05 18:23:41 +0200 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-12 09:12:25 +0000 |
commit | 77fb77fb8ef0139558787cb59d563bb75d3d94e1 (patch) | |
tree | c2e2fb9a56fe1131f6ae4d97ca203a688a1ac4d9 /src/mongo/s/query/router_exec_stage.h | |
parent | 5769969b746c079fa9cd6fd52a11a25b6a5df417 (diff) | |
download | mongo-77fb77fb8ef0139558787cb59d563bb75d3d94e1.tar.gz |
SERVER-57985 Remove RouterExecStage::ExecContext
Diffstat (limited to 'src/mongo/s/query/router_exec_stage.h')
-rw-r--r-- | src/mongo/s/query/router_exec_stage.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mongo/s/query/router_exec_stage.h b/src/mongo/s/query/router_exec_stage.h index 7c5ee7aefb6..2b83cc393f0 100644 --- a/src/mongo/s/query/router_exec_stage.h +++ b/src/mongo/s/query/router_exec_stage.h @@ -53,12 +53,6 @@ class OperationContext; */ class RouterExecStage { public: - enum class ExecContext { - kInitialFind, - kGetMoreNoResultsYet, - kGetMoreWithAtLeastOneResultInBatch, - }; - RouterExecStage(OperationContext* opCtx) : _opCtx(opCtx) {} RouterExecStage(OperationContext* opCtx, std::unique_ptr<RouterExecStage> child) : _opCtx(opCtx), _child(std::move(child)) {} @@ -74,7 +68,7 @@ public: * holding on to a subset of the returned results and need to minimize memory usage, call copy() * on the BSONObjs. */ - virtual StatusWith<ClusterQueryResult> next(ExecContext) = 0; + virtual StatusWith<ClusterQueryResult> next() = 0; /** * Must be called before destruction to abandon a not-yet-exhausted plan. May block waiting for |