Storage Engine API
mongo::MobileIndex::BulkBuilderStandard Class Referencefinal

Bulk builds a non-unique index. More...

Inheritance diagram for mongo::MobileIndex::BulkBuilderStandard:
mongo::MobileIndex::BulkBuilderBase mongo::SortedDataBuilderInterface

Detailed Description

Bulk builds a non-unique index.

Public Member Functions

 BulkBuilderStandard (MobileIndex *index, OperationContext *opCtx, bool dupsAllowed)
 
- Public Member Functions inherited from mongo::MobileIndex::BulkBuilderBase
 BulkBuilderBase (MobileIndex *index, OperationContext *opCtx, bool dupsAllowed)
 
virtual ~BulkBuilderBase ()
 
Status addKey (const BSONObj &key, const RecordId &recId) override
 Adds 'key' to intermediate storage. More...
 
void commit (bool mayInterrupt) override
 Do any necessary work to finish building the tree. More...
 
- Public Member Functions inherited from mongo::SortedDataBuilderInterface
virtual ~SortedDataBuilderInterface ()
 

Protected Member Functions

Status _addKey (const BSONObj &key, const RecordId &recId) override
 
- Protected Member Functions inherited from mongo::MobileIndex::BulkBuilderBase
Status _checkNextKey (const BSONObj &key)
 Checks whether the new key to be inserted is > or >= the previous one depending on _dupsAllowed. More...
 

Additional Inherited Members

- Protected Attributes inherited from mongo::MobileIndex::BulkBuilderBase
MobileIndex_index
 
OperationContext *const _opCtx
 
BSONObj _lastKey
 
const bool _dupsAllowed
 

Constructor & Destructor Documentation

◆ BulkBuilderStandard()

mongo::MobileIndex::BulkBuilderStandard::BulkBuilderStandard ( MobileIndex index,
OperationContext *  opCtx,
bool  dupsAllowed 
)
inline

Member Function Documentation

◆ _addKey()

Status mongo::MobileIndex::BulkBuilderStandard::_addKey ( const BSONObj &  key,
const RecordId &  recId 
)
inlineoverrideprotectedvirtual

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