Storage Engine API
mongo::BtreeLogic< BtreeLayout >::FullKey Struct Reference

This is an in memory wrapper for the variable length data associated with a KeyHeaderType. More...

Detailed Description

template<class BtreeLayout>
struct mongo::BtreeLogic< BtreeLayout >::FullKey

This is an in memory wrapper for the variable length data associated with a KeyHeaderType.

It points to on-disk data but is not itself on-disk data.

This object and its BSONObj 'key' will become invalid if the KeyHeaderType data that owns this it is moved within the btree. In general, a KeyWrapper should not be expected to be valid after a write.

Public Member Functions

 FullKey (const BucketType *bucket, int i)
 

Public Attributes

const KeyHeaderTypeheader
 
const LocTypeprevChildBucket
 
const LocTyperecordLoc
 
KeyDataType data
 

Constructor & Destructor Documentation

◆ FullKey()

template<class BtreeLayout>
mongo::BtreeLogic< BtreeLayout >::FullKey::FullKey ( const BucketType bucket,
int  i 
)
inline

Member Data Documentation

◆ data

template<class BtreeLayout>
KeyDataType mongo::BtreeLogic< BtreeLayout >::FullKey::data

◆ header

template<class BtreeLayout>
const KeyHeaderType& mongo::BtreeLogic< BtreeLayout >::FullKey::header

◆ prevChildBucket

template<class BtreeLayout>
const LocType& mongo::BtreeLogic< BtreeLayout >::FullKey::prevChildBucket

◆ recordLoc

template<class BtreeLayout>
const LocType& mongo::BtreeLogic< BtreeLayout >::FullKey::recordLoc

The documentation for this struct was generated from the following file: