Storage Engine API
ephemeral_for_test_btree_impl.cpp File Reference
#include "mongo/platform/basic.h"
#include "mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.h"
#include <set>
#include "mongo/db/catalog/index_catalog_entry.h"
#include "mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.h"
#include "mongo/db/storage/index_entry_comparison.h"
#include "mongo/stdx/memory.h"
#include "mongo/util/mongoutils/str.h"

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.
 

Functions

SortedDataInterface * mongo::getEphemeralForTestBtreeImpl (const Ordering &ordering, bool isUnique, std::shared_ptr< void > *dataInOut)
 Caller takes ownership. More...
 

Variable Documentation

◆ _comparator

IndexEntryComparison _comparator
private

◆ _currentKeySize

long long _currentKeySize
private

◆ _data

IndexSet* _data
private

◆ _dupsAllowed

const bool _dupsAllowed
private

◆ _endState

boost::optional<EndState> _endState
private

◆ _entry

const IndexKeyEntry _entry
private

◆ _forward

const bool _forward
private

◆ _insert

const bool _insert
private

◆ _isEOF

bool _isEOF = true
private

◆ _isUnique

const bool _isUnique
private

◆ _it

IndexSet::const_iterator _it
private

◆ _last

IndexSet::const_iterator _last
private

◆ _lastMoveWasRestore

bool _lastMoveWasRestore = false
private

◆ _opCtx

OperationContext* _opCtx
private

◆ _savedAtEnd

bool _savedAtEnd = false
private

◆ _savedKey

BSONObj _savedKey
private

◆ _savedLoc

RecordId _savedLoc
private

◆ it

IndexSet::const_iterator it

◆ query

IndexKeyEntry query