mongo::IndexDetails Class Reference
#include <index.h>
List of all members.
Detailed Description
Definition at line 34 of file index.h.
Member Function Documentation
bool mongo::IndexDetails::dropDups |
( |
|
) |
const [inline] |
BSONObj mongo::IndexDetails::getKeyFromQuery |
( |
const BSONObj & |
query |
) |
const [inline] |
const IndexSpec& mongo::IndexDetails::getSpec |
( |
|
) |
const |
bool mongo::IndexDetails::hasKey |
( |
const BSONObj & |
key |
) |
[inline] |
string mongo::IndexDetails::indexName |
( |
|
) |
const [inline] |
string mongo::IndexDetails::indexNamespace |
( |
|
) |
const [inline] |
bool mongo::IndexDetails::inKeyPattern |
( |
const string & |
key |
) |
const [inline] |
bool mongo::IndexDetails::isIdIndex |
( |
|
) |
const [inline] |
static bool mongo::IndexDetails::isIdIndexPattern |
( |
const BSONObj & |
pattern |
) |
[inline, static] |
BSONObj mongo::IndexDetails::keyPattern |
( |
|
) |
const [inline] |
int mongo::IndexDetails::keyPatternOffset |
( |
const string & |
key |
) |
const |
- Returns:
- offset into keyPattern for key -1 if doesn't exist
void mongo::IndexDetails::kill_idx |
( |
|
) |
|
string mongo::IndexDetails::parentNS |
( |
|
) |
const [inline] |
string mongo::IndexDetails::toString |
( |
|
) |
const [inline] |
bool mongo::IndexDetails::unique |
( |
|
) |
const [inline] |
bool mongo::IndexDetails::wouldCreateDup |
( |
const BSONObj & |
key, |
|
|
DiskLoc |
self | |
|
) |
| | [inline] |
Member Data Documentation
btree head disk location TODO We should make this variable private, since btree operations may change its value and we don't want clients to rely on an old value. If we create a btree class, we can provide a btree object to clients instead of 'head'.
Definition at line 43 of file index.h.
The documentation for this class was generated from the following files: