|
| MobileIndexUnique (OperationContext *opCtx, const IndexDescriptor *desc, const std::string &ident) |
|
| MobileIndexUnique (const Ordering &ordering, const std::string &ident) |
|
SortedDataBuilderInterface * | getBulkBuilder (OperationContext *opCtx, bool dupsAllowed) override |
| Return a bulk builder for 'this' index. More...
|
|
std::unique_ptr< SortedDataInterface::Cursor > | newCursor (OperationContext *opCtx, bool isForward) const override |
| Returns an unpositioned cursor over 'this' index. More...
|
|
| MobileIndex (OperationContext *opCtx, const IndexDescriptor *desc, const std::string &ident) |
|
| MobileIndex (bool isUnique, const Ordering &ordering, const std::string &ident) |
|
virtual | ~MobileIndex () |
|
Status | insert (OperationContext *opCtx, const BSONObj &key, const RecordId &recId, bool dupsAllowed) override |
| Insert an entry into the index with the specified key and RecordId. More...
|
|
void | unindex (OperationContext *opCtx, const BSONObj &key, const RecordId &recId, bool dupsAllowed) override |
| Remove the entry from the index with the specified key and RecordId. More...
|
|
void | fullValidate (OperationContext *opCtx, long long *numKeysOut, ValidateResults *fullResults) const override |
| Note: this validates the entire database file, not just the table used by this index. More...
|
|
bool | appendCustomStats (OperationContext *opCtx, BSONObjBuilder *output, double scale) const override |
|
long long | getSpaceUsedBytes (OperationContext *opCtx) const override |
| Return the number of bytes consumed by 'this' index. More...
|
|
long long | numEntries (OperationContext *opCtx) const override |
| Return the number of entries in 'this' index. More...
|
|
bool | isEmpty (OperationContext *opCtx) override |
| Return true if 'this' index is empty, and false otherwise. More...
|
|
Status | initAsEmpty (OperationContext *opCtx) override |
|
Status | dupKeyCheck (OperationContext *opCtx, const BSONObj &key, const RecordId &recId) override |
| Return ErrorCodes::DuplicateKey if 'key' already exists in 'this' index at a RecordId other than 'loc', and Status::OK() otherwise. More...
|
|
template<typename ValueType > |
Status | doInsert (OperationContext *opCtx, const KeyString &key, const ValueType &value, bool isTransactional=true) |
| Performs the insert into the table with the given key and value. More...
|
|
Ordering | getOrdering () const |
|
KeyString::Version | getKeyStringVersion () const |
|
bool | isUnique () |
|
std::string | getIdent () const |
|
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 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...
|
|