![]() |
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) | |
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 |
|
inline |
|
inlineoverrideprotectedvirtual |
Implements mongo::MobileIndex::BulkBuilderBase.