示例#1
0
 PlanExecutor::PlanExecutor(WorkingSet* ws, PlanStage* rt, const Collection* collection)
     : _collection(collection),
       _cq(NULL),
       _workingSet(ws),
       _qs(NULL),
       _root(rt),
       _killed(false) {
     initNs();
 }
示例#2
0
 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();
 }
示例#3
0
 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();
 }