mongo::MultiPlanScanner Class Reference

#include <queryoptimizer.h>

List of all members.

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< QueryOprunOp (QueryOp &op)
template<class T >
shared_ptr< T > runOpOnce (T &op)
shared_ptr< QueryOprunOpOnce (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

Detailed Description

Definition at line 276 of file queryoptimizer.h.


Constructor & Destructor Documentation

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 
)

Member Function Documentation

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.

template<class T >
shared_ptr< T > mongo::MultiPlanScanner::runOp ( T &  op  )  [inline]

Definition at line 289 of file queryoptimizer.h.

shared_ptr< QueryOp > mongo::MultiPlanScanner::runOp ( QueryOp op  ) 
template<class T >
shared_ptr< T > mongo::MultiPlanScanner::runOpOnce ( T &  op  )  [inline]

Definition at line 294 of file queryoptimizer.h.

shared_ptr< QueryOp > mongo::MultiPlanScanner::runOpOnce ( QueryOp op  ) 
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.


Member Data Documentation

Definition at line 320 of file queryoptimizer.h.

Definition at line 317 of file queryoptimizer.h.

Definition at line 316 of file queryoptimizer.h.

Definition at line 321 of file queryoptimizer.h.

Definition at line 319 of file queryoptimizer.h.

Definition at line 318 of file queryoptimizer.h.

Definition at line 322 of file queryoptimizer.h.

const char* mongo::MultiPlanScanner::_ns [private]

Definition at line 313 of file queryoptimizer.h.

Definition at line 314 of file queryoptimizer.h.

Definition at line 315 of file queryoptimizer.h.

Definition at line 323 of file queryoptimizer.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:56 2013