PlanExecutor::PlanExecutor(WorkingSet* ws, PlanStage* rt, const Collection* collection) : _collection(collection), _cq(NULL), _workingSet(ws), _qs(NULL), _root(rt), _killed(false) { initNs(); }
PlanExecutor::PlanExecutor(WorkingSet* ws, PlanStage* rt, QuerySolution* qs, CanonicalQuery* cq, const Collection* collection) : _collection(collection), _cq(cq), _workingSet(ws), _qs(qs), _root(rt), _killed(false) { initNs(); }
PlanExecutor::PlanExecutor(OperationContext* opCtx, WorkingSet* ws, PlanStage* rt, const Collection* collection) : _opCtx(opCtx), _collection(collection), _cq(NULL), _workingSet(ws), _qs(NULL), _root(rt), _killed(false) { initNs(); }