#include <key.h>
◆ anonymous enum
◆ KeyV1() [1/4]
◆ KeyV1() [2/4]
◆ ~KeyV1()
◆ KeyV1() [3/4]
mongo::KeyV1::KeyV1 |
( |
const KeyV1 & |
rhs | ) |
|
|
inline |
◆ KeyV1() [4/4]
mongo::KeyV1::KeyV1 |
( |
const char * |
keyData | ) |
|
|
inlineexplicit |
- Parameters
-
keyData | can be a buffer containing data in either BSON format, OR in KeyV1 format. when BSON, we are just a wrapper |
◆ _firstElement()
BSONElement mongo::KeyV1::_firstElement |
( |
| ) |
const |
|
inline |
only used by geo, which always has bson keys
◆ assign()
void mongo::KeyV1::assign |
( |
const KeyV1 & |
rhs | ) |
|
|
inline |
◆ bson()
BSONObj mongo::KeyV1::bson |
( |
| ) |
const |
|
inlineprotected |
◆ compareHybrid()
int NOINLINE_DECL mongo::KeyV1::compareHybrid |
( |
const KeyV1 & |
right, |
|
|
const Ordering & |
order |
|
) |
| const |
|
private |
◆ data()
const char* mongo::KeyV1::data |
( |
| ) |
const |
|
inline |
get the key data we want to store in the btree bucket
◆ dataSize()
int mongo::KeyV1::dataSize |
( |
| ) |
const |
◆ isCompactFormat()
bool mongo::KeyV1::isCompactFormat |
( |
| ) |
const |
|
inline |
◆ isValid()
bool mongo::KeyV1::isValid |
( |
| ) |
const |
|
inline |
◆ operator=()
void mongo::KeyV1::operator= |
( |
const KeyV1 & |
| ) |
|
|
private |
◆ toBson()
BSONObj mongo::KeyV1::toBson |
( |
| ) |
const |
◆ toString()
std::string mongo::KeyV1::toString |
( |
| ) |
const |
|
inline |
◆ woCompare()
int mongo::KeyV1::woCompare |
( |
const KeyV1 & |
r, |
|
|
const Ordering & |
o |
|
) |
| const |
◆ woEqual()
bool mongo::KeyV1::woEqual |
( |
const KeyV1 & |
r | ) |
const |
◆ _keyData
const unsigned char* mongo::KeyV1::_keyData |
|
protected |
The documentation for this class was generated from the following files:
- /home/louis/git/mongodbsource.github.io/src/src/mongo/db/storage/mmap_v1/btree/key.h
- /home/louis/git/mongodbsource.github.io/src/src/mongo/db/storage/mmap_v1/btree/key.cpp