diff options
author | Haley Connelly <haley.connelly@mongodb.com> | 2022-05-18 14:37:26 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-18 15:52:21 +0000 |
commit | 12e5524bd86cae9dde0f04c57c96f9622c1c5ab9 (patch) | |
tree | d4644d78837c2d669cc7a78ef023a411f79b359a /src/mongo/db/query/internal_plans.h | |
parent | c9c71fa2a7c872a2c146b62cb9e94e93e7e8bed9 (diff) | |
download | mongo-12e5524bd86cae9dde0f04c57c96f9622c1c5ab9.tar.gz |
SERVER-66537 Combine BatchedDeleteStage<Batch/Pass>Params
Diffstat (limited to 'src/mongo/db/query/internal_plans.h')
-rw-r--r-- | src/mongo/db/query/internal_plans.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/db/query/internal_plans.h b/src/mongo/db/query/internal_plans.h index 3bcf3e02b1c..49666492c87 100644 --- a/src/mongo/db/query/internal_plans.h +++ b/src/mongo/db/query/internal_plans.h @@ -90,7 +90,8 @@ public: PlanYieldPolicy::YieldPolicy yieldPolicy); /** - * Returns a FETCH => DELETE plan, or a FETCH => BATCHED_DELETE plan if 'batchParams' is set. + * Returns a FETCH => DELETE plan, or a FETCH => BATCHED_DELETE plan if 'batchedDeleteParams' is + * set. */ static std::unique_ptr<PlanExecutor, PlanExecutor::Deleter> deleteWithCollectionScan( OperationContext* opCtx, @@ -100,7 +101,7 @@ public: Direction direction = FORWARD, boost::optional<RecordIdBound> minRecord = boost::none, boost::optional<RecordIdBound> maxRecord = boost::none, - std::unique_ptr<BatchedDeleteStageBatchParams> batchParams = nullptr); + std::unique_ptr<BatchedDeleteStageParams> batchedDeleteParams = nullptr); /** * Returns an index scan. Caller owns returned pointer. @@ -118,7 +119,7 @@ public: /** * Returns an IXSCAN => FETCH => DELETE plan, or an IXSCAN => FETCH => BATCHED_DELETE plan if - * 'batchParams' is set. + * 'batchedDeleteParams' is set. */ static std::unique_ptr<PlanExecutor, PlanExecutor::Deleter> deleteWithIndexScan( OperationContext* opCtx, @@ -130,7 +131,7 @@ public: BoundInclusion boundInclusion, PlanYieldPolicy::YieldPolicy yieldPolicy, Direction direction = FORWARD, - std::unique_ptr<BatchedDeleteStageBatchParams> batchParams = nullptr); + std::unique_ptr<BatchedDeleteStageParams> batchedDeleteParams = nullptr); /** * Returns a scan over the 'shardKeyIdx'. If the 'shardKeyIdx' is a non-clustered index, returns |