Storage Engine API
mongo::BtreeLayoutV1 Struct Reference

#include <btree_ondisk.h>

Public Types

enum  { BucketSize = 8192 - 16, BucketBodySize = BucketSize - BucketType::HeaderSize }
 
typedef FixedWidthKey< DiskLoc56BitFixedWidthKeyType
 
typedef KeyV1 KeyType
 
typedef KeyV1Owned KeyOwnedType
 
typedef DiskLoc56Bit LocType
 
typedef BtreeBucketV1 BucketType
 

Static Public Member Functions

static void initBucket (BucketType *bucket)
 

Static Public Attributes

static const int KeyMax = 1024
 
static const unsigned short INVALID_N_SENTINEL = 0xffff
 

Member Typedef Documentation

◆ BucketType

◆ FixedWidthKeyType

◆ KeyOwnedType

◆ KeyType

◆ LocType

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BucketSize 
BucketBodySize 

Member Function Documentation

◆ initBucket()

static void mongo::BtreeLayoutV1::initBucket ( BucketType bucket)
inlinestatic

Member Data Documentation

◆ INVALID_N_SENTINEL

const unsigned short mongo::BtreeLayoutV1::INVALID_N_SENTINEL = 0xffff
static

◆ KeyMax

const int mongo::BtreeLayoutV1::KeyMax = 1024
static

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