Storage Engine API
mongo::BtreeLayoutV0 Struct Reference

#include <btree_ondisk.h>

Public Types

enum  { BucketSize = 8192, BucketBodySize = BucketSize - BucketType::HeaderSize }
 
typedef FixedWidthKey< DiskLocFixedWidthKeyType
 
typedef DiskLoc LocType
 
typedef KeyBson KeyType
 
typedef KeyBson KeyOwnedType
 
typedef BtreeBucketV0 BucketType
 

Static Public Member Functions

static void initBucket (BucketType *bucket)
 

Static Public Attributes

static const int KeyMax = OldBucketSize / 10
 
static const int INVALID_N_SENTINEL = -1
 

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::BtreeLayoutV0::initBucket ( BucketType bucket)
inlinestatic

Member Data Documentation

◆ INVALID_N_SENTINEL

const int mongo::BtreeLayoutV0::INVALID_N_SENTINEL = -1
static

◆ KeyMax

const int mongo::BtreeLayoutV0::KeyMax = OldBucketSize / 10
static

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