mongo::IndexType Class Reference
#include <indexkey.h>
List of all members.
Detailed Description
this represents an instance of a index plugin done this way so parsing, etc... can be cached so if there is a FTS IndexPlugin, for each index using FTS there will be 1 of these, and it can have things pre-parsed, etc...
Definition at line 42 of file indexkey.h.
Constructor & Destructor Documentation
virtual mongo::IndexType::~IndexType |
( |
|
) |
[virtual] |
Member Function Documentation
virtual int mongo::IndexType::compare |
( |
const BSONObj & |
l, |
|
|
const BSONObj & |
r | |
|
) |
| | const [virtual] |
optional op : compare 2 objects with regards to this index
virtual BSONObj mongo::IndexType::fixKey |
( |
const BSONObj & |
in |
) |
[inline, virtual] |
optional op : changes query to match what's in the index
Definition at line 51 of file indexkey.h.
const IndexPlugin* mongo::IndexType::getPlugin |
( |
|
) |
const [inline] |
const BSONObj& mongo::IndexType::keyPattern |
( |
|
) |
const |
virtual shared_ptr<Cursor> mongo::IndexType::newCursor |
( |
const BSONObj & |
query, |
|
|
const BSONObj & |
order, |
|
|
int |
numWanted | |
|
) |
| | const [pure virtual] |
virtual bool mongo::IndexType::scanAndOrderRequired |
( |
const BSONObj & |
query, |
|
|
const BSONObj & |
order | |
|
) |
| | const [virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: