Storage Engine API
btree_interface.cpp File Reference
#include "mongo/platform/basic.h"
#include <string>
#include "mongo/db/storage/mmap_v1/btree/btree_interface.h"
#include "mongo/db/operation_context.h"
#include "mongo/db/storage/mmap_v1/btree/btree_logic.h"
#include "mongo/db/storage/mmap_v1/record_store_v1_base.h"
#include "mongo/db/storage/sorted_data_interface.h"
#include "mongo/stdx/memory.h"
#include "mongo/util/assert_util.h"

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.
 

Functions

SortedDataInterface * mongo::getMMAPV1Interface (HeadManager *headManager, RecordStore *recordStore, SavedCursorRegistry *cursorRegistry, const Ordering &ordering, const string &indexName, IndexVersion version, bool isUnique)
 

Variable Documentation

◆ _btree

unique_ptr<BtreeLogic<OnDiskFormat> > _btree
private

◆ _bucket

DiskLoc _bucket
private

◆ _builder

std::unique_ptr<typename BtreeLogic<OnDiskFormat>::Builder> _builder
private

◆ _direction

const int _direction
private

◆ _endState

boost::optional<EndState> _endState
private

◆ _lastMoveWasRestore

bool _lastMoveWasRestore = false
private

◆ _ofs

int _ofs
private

◆ _opCtx

OperationContext* _opCtx
private

◆ _saved

SavedCursorRegistry::SavedCursor _saved
private

◆ _savedEOF

bool _savedEOF = false
private

◆ _trans

OperationContext* _trans
private

◆ bucket

DiskLoc bucket

◆ inclusive

bool inclusive

◆ key

BSONObj key

◆ ofs

int ofs