![]() |
Storage Engine API
|
Bulk builds a non-unique index. More...
Bulk builds a non-unique index.
Public Member Functions | |
BulkBuilderStandard (MobileIndex *index, OperationContext *opCtx, bool dupsAllowed) | |
![]() | |
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... | |
![]() | |
virtual | ~SortedDataBuilderInterface () |
Protected Member Functions | |
Status | _addKey (const BSONObj &key, const RecordId &recId) override |
![]() | |
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 | |
![]() | |
MobileIndex * | _index |
OperationContext *const | _opCtx |
BSONObj | _lastKey |
const bool | _dupsAllowed |
|
inline |
|
inlineoverrideprotectedvirtual |
Implements mongo::MobileIndex::BulkBuilderBase.