|
virtual | ~DevNullSortedDataInterface () |
|
virtual SortedDataBuilderInterface * | getBulkBuilder (OperationContext *opCtx, bool dupsAllowed) |
| Return a bulk builder for 'this' index. More...
|
|
virtual Status | insert (OperationContext *opCtx, const BSONObj &key, const RecordId &loc, bool dupsAllowed) |
| Insert an entry into the index with the specified key and RecordId. More...
|
|
virtual void | unindex (OperationContext *opCtx, const BSONObj &key, const RecordId &loc, bool dupsAllowed) |
| Remove the entry from the index with the specified key and RecordId. More...
|
|
virtual Status | dupKeyCheck (OperationContext *opCtx, const BSONObj &key, const RecordId &loc) |
| Return ErrorCodes::DuplicateKey if 'key' already exists in 'this' index at a RecordId other than 'loc', and Status::OK() otherwise. More...
|
|
virtual void | fullValidate (OperationContext *opCtx, long long *numKeysOut, ValidateResults *fullResults) const |
| TODO: expose full set of args for testing? More...
|
|
virtual bool | appendCustomStats (OperationContext *opCtx, BSONObjBuilder *output, double scale) const |
|
virtual long long | getSpaceUsedBytes (OperationContext *opCtx) const |
| Return the number of bytes consumed by 'this' index. More...
|
|
virtual bool | isEmpty (OperationContext *opCtx) |
| Return true if 'this' index is empty, and false otherwise. More...
|
|
virtual std::unique_ptr< SortedDataInterface::Cursor > | newCursor (OperationContext *opCtx, bool isForward) const |
| Returns an unpositioned cursor over 'this' index. More...
|
|
virtual Status | initAsEmpty (OperationContext *opCtx) |
|
virtual | ~SortedDataInterface () |
|
virtual Status | compact (OperationContext *opCtx) |
| Attempt to reduce the storage space used by this index via compaction. More...
|
|
virtual Status | touch (OperationContext *opCtx) const |
| Attempt to bring the entirety of 'this' index into memory. More...
|
|
virtual long long | numEntries (OperationContext *opCtx) const |
| Return the number of entries in 'this' index. More...
|
|
virtual std::unique_ptr< Cursor > | newRandomCursor (OperationContext *opCtx) const |
| Constructs a cursor over an index that returns entries in a randomized order, and allows storage engines to provide a more efficient way to randomly sample a collection than MongoDB's default sampling methods, which are used when this method returns {}. More...
|
|