Storage Engine API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
btree_ondisk.h File Reference
#include "mongo/base/static_assert.h"
#include "mongo/db/jsobj.h"
#include "mongo/db/storage/mmap_v1/btree/key.h"
#include "mongo/db/storage/mmap_v1/diskloc.h"

Go to the source code of this file.

Classes

struct  mongo::FixedWidthKey< LocType >
 This is the fixed width data component for storage of a key within a bucket. More...
 
struct  mongo::BtreeBucketV0
 This structure represents header data for a btree bucket. More...
 
struct  mongo::DiskLoc56Bit
 A variant of DiskLoc Used by the V1 bucket type. More...
 
struct  mongo::BtreeBucketV1
 
struct  mongo::BtreeLayoutV0
 
struct  mongo::BtreeLayoutV1
 

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.
 

Enumerations

enum  mongo::Flags { mongo::Packed = 1 }
 

Functions

 mongo::MONGO_STATIC_ASSERT (sizeof(BtreeBucketV0) - sizeof(static_cast< BtreeBucketV0 *>(NULL) ->data)==BtreeBucketV0::HeaderSize)
 
 mongo::MONGO_STATIC_ASSERT (sizeof(BtreeBucketV1) - sizeof(static_cast< BtreeBucketV1 *>(NULL) ->data)==BtreeBucketV1::HeaderSize)
 

Variables

const int mongo::OldBucketSize = 8192