Storage Engine API
mongo::IndexKeyEntry Struct Reference

Represents a single item in an index. More...

#include <index_entry_comparison.h>

Detailed Description

Represents a single item in an index.

An index item simply consists of a key and a disk location.

Public Member Functions

 IndexKeyEntry (BSONObj key, RecordId loc)
 

Public Attributes

BSONObj key
 
RecordId loc
 

Constructor & Destructor Documentation

◆ IndexKeyEntry()

mongo::IndexKeyEntry::IndexKeyEntry ( BSONObj  key,
RecordId  loc 
)
inline

Member Data Documentation

◆ key

BSONObj mongo::IndexKeyEntry::key

◆ loc

RecordId mongo::IndexKeyEntry::loc

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