mongo::CoveredIndexMatcher Class Reference

#include <matcher.h>

List of all members.

Public Member Functions

void advanceOrClause (const shared_ptr< FieldRangeVector > &frv)
 CoveredIndexMatcher (const BSONObj &pattern, const BSONObj &indexKeyPattern, bool alwaysUseRecord=false)
MatcherdocMatcher ()
bool matches (const BSONObj &key, const DiskLoc &recLoc, MatchDetails *details=0, bool keyUsable=true)
bool matches (const BSONObj &o)
bool matchesCurrent (Cursor *cursor, MatchDetails *details=0)
bool needRecord ()
CoveredIndexMatchernextClauseMatcher (const BSONObj &indexKeyPattern, bool alwaysUseRecord=false)

Private Member Functions

 CoveredIndexMatcher (const shared_ptr< Matcher > &docMatcher, const BSONObj &indexKeyPattern, bool alwaysUseRecord=false)
void init (bool alwaysUseRecord)

Private Attributes

shared_ptr< Matcher_docMatcher
Matcher _keyMatcher
bool _needRecord
bool _needRecordReject
bool _useRecordOnly

Detailed Description

Definition at line 215 of file matcher.h.


Constructor & Destructor Documentation

mongo::CoveredIndexMatcher::CoveredIndexMatcher ( const BSONObj pattern,
const BSONObj indexKeyPattern,
bool  alwaysUseRecord = false 
)
mongo::CoveredIndexMatcher::CoveredIndexMatcher ( const shared_ptr< Matcher > &  docMatcher,
const BSONObj indexKeyPattern,
bool  alwaysUseRecord = false 
) [private]

Member Function Documentation

void mongo::CoveredIndexMatcher::advanceOrClause ( const shared_ptr< FieldRangeVector > &  frv  )  [inline]

Definition at line 226 of file matcher.h.

Matcher& mongo::CoveredIndexMatcher::docMatcher (  )  [inline]

Definition at line 223 of file matcher.h.

void mongo::CoveredIndexMatcher::init ( bool  alwaysUseRecord  )  [private]
bool mongo::CoveredIndexMatcher::matches ( const BSONObj key,
const DiskLoc recLoc,
MatchDetails details = 0,
bool  keyUsable = true 
)
bool mongo::CoveredIndexMatcher::matches ( const BSONObj o  )  [inline]

Definition at line 218 of file matcher.h.

bool mongo::CoveredIndexMatcher::matchesCurrent ( Cursor cursor,
MatchDetails details = 0 
)
bool mongo::CoveredIndexMatcher::needRecord (  )  [inline]

Definition at line 221 of file matcher.h.

CoveredIndexMatcher* mongo::CoveredIndexMatcher::nextClauseMatcher ( const BSONObj indexKeyPattern,
bool  alwaysUseRecord = false 
) [inline]

Definition at line 234 of file matcher.h.


Member Data Documentation

Definition at line 240 of file matcher.h.

Definition at line 241 of file matcher.h.

Definition at line 243 of file matcher.h.

Definition at line 244 of file matcher.h.

Definition at line 245 of file matcher.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:54 2013