#include <queryoptimizer.h>
Public Member Functions | |
| bool | hasMultiKey () const |
| bool | mayRunMore () const |
| void | mayYield (bool val) |
| bool | modifiedKeys () const |
| MultiPlanScanner (const char *ns, const BSONObj &query, const BSONObj &order, const BSONElement *hint=0, bool honorRecordedPlan=true, const BSONObj &min=BSONObj(), const BSONObj &max=BSONObj(), bool bestGuessOnly=false, bool mayYield=false) | |
| BSONObj | oldExplain () const |
| template<class T > | |
| shared_ptr< T > | runOp (T &op) |
| shared_ptr< QueryOp > | runOp (QueryOp &op) |
| template<class T > | |
| shared_ptr< T > | runOpOnce (T &op) |
| shared_ptr< QueryOp > | runOpOnce (QueryOp &op) |
| void | setBestGuessOnly () |
| bool | usingPrerecordedPlan () const |
Private Member Functions | |
| void | assertNotOr () const |
| bool | uselessOr (const BSONElement &hint) const |
Private Attributes | |
| bool | _bestGuessOnly |
| auto_ptr< QueryPlanSet > | _currentQps |
| FieldRangeOrSet | _fros |
| BSONObj | _hint |
| bool | _honorRecordedPlan |
| int | _i |
| bool | _mayYield |
| const char * | _ns |
| bool | _or |
| BSONObj | _query |
| bool | _tableScanned |
Definition at line 276 of file queryoptimizer.h.
| mongo::MultiPlanScanner::MultiPlanScanner | ( | const char * | ns, | |
| const BSONObj & | query, | |||
| const BSONObj & | order, | |||
| const BSONElement * | hint = 0, |
|||
| bool | honorRecordedPlan = true, |
|||
| const BSONObj & | min = BSONObj(), |
|||
| const BSONObj & | max = BSONObj(), |
|||
| bool | bestGuessOnly = false, |
|||
| bool | mayYield = false | |||
| ) |
| void mongo::MultiPlanScanner::assertNotOr | ( | ) | const [inline, private] |
Definition at line 309 of file queryoptimizer.h.
| bool mongo::MultiPlanScanner::hasMultiKey | ( | ) | const [inline] |
Definition at line 306 of file queryoptimizer.h.
| bool mongo::MultiPlanScanner::mayRunMore | ( | ) | const [inline] |
Definition at line 297 of file queryoptimizer.h.
| void mongo::MultiPlanScanner::mayYield | ( | bool | val | ) | [inline] |
Definition at line 304 of file queryoptimizer.h.
| bool mongo::MultiPlanScanner::modifiedKeys | ( | ) | const [inline] |
Definition at line 305 of file queryoptimizer.h.
| BSONObj mongo::MultiPlanScanner::oldExplain | ( | ) | const [inline] |
Definition at line 298 of file queryoptimizer.h.
| shared_ptr< T > mongo::MultiPlanScanner::runOp | ( | T & | op | ) | [inline] |
Definition at line 289 of file queryoptimizer.h.
| shared_ptr< T > mongo::MultiPlanScanner::runOpOnce | ( | T & | op | ) | [inline] |
Definition at line 294 of file queryoptimizer.h.
| void mongo::MultiPlanScanner::setBestGuessOnly | ( | ) | [inline] |
Definition at line 303 of file queryoptimizer.h.
| bool mongo::MultiPlanScanner::uselessOr | ( | const BSONElement & | hint | ) | const [private] |
| bool mongo::MultiPlanScanner::usingPrerecordedPlan | ( | ) | const [inline] |
Definition at line 300 of file queryoptimizer.h.
bool mongo::MultiPlanScanner::_bestGuessOnly [private] |
Definition at line 320 of file queryoptimizer.h.
auto_ptr< QueryPlanSet > mongo::MultiPlanScanner::_currentQps [private] |
Definition at line 317 of file queryoptimizer.h.
Definition at line 316 of file queryoptimizer.h.
BSONObj mongo::MultiPlanScanner::_hint [private] |
Definition at line 321 of file queryoptimizer.h.
bool mongo::MultiPlanScanner::_honorRecordedPlan [private] |
Definition at line 319 of file queryoptimizer.h.
int mongo::MultiPlanScanner::_i [private] |
Definition at line 318 of file queryoptimizer.h.
bool mongo::MultiPlanScanner::_mayYield [private] |
Definition at line 322 of file queryoptimizer.h.
const char* mongo::MultiPlanScanner::_ns [private] |
Definition at line 313 of file queryoptimizer.h.
bool mongo::MultiPlanScanner::_or [private] |
Definition at line 314 of file queryoptimizer.h.
BSONObj mongo::MultiPlanScanner::_query [private] |
Definition at line 315 of file queryoptimizer.h.
bool mongo::MultiPlanScanner::_tableScanned [private] |
Definition at line 323 of file queryoptimizer.h.