diff options
author | Mathias Stearn <redbeard0531@gmail.com> | 2022-02-03 16:53:32 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-02-03 17:45:43 +0000 |
commit | 5c269981850650efe95735846fa4b2676a22376f (patch) | |
tree | d68e8f8b0f79e684ad73d82d8008e65070a9ec3e /src/mongo/db/index/index_access_method.h | |
parent | 038b3ab5b4cc32da116097a256e25105046e1836 (diff) | |
download | mongo-5c269981850650efe95735846fa4b2676a22376f.tar.gz |
SERVER-63251 Rename AbstractIndexAccessMethod to SortedDataIndexAccessMethod
This is the first step in the refactoring process. All subclasses of
AbstractIndexAccessMethod currently use SortedDataInterface as their storage,
and most of AbstractIAM deals with the common code for working with
SortedData. This rename codifies that relationship. Later commits in the
refactor will move all SortedData specific functionality down from IAM to
SortedDataIAM, to make room for indexes with other types of storage.
Diffstat (limited to 'src/mongo/db/index/index_access_method.h')
-rw-r--r-- | src/mongo/db/index/index_access_method.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/index/index_access_method.h b/src/mongo/db/index/index_access_method.h index 30d5c9131fc..f9988b7d191 100644 --- a/src/mongo/db/index/index_access_method.h +++ b/src/mongo/db/index/index_access_method.h @@ -476,9 +476,9 @@ struct InsertDeleteOptions { * for the initialization and core functionality of this abstract class. To avoid any circular * dependencies, it is important that IndexAccessMethod remain an interface. */ -class AbstractIndexAccessMethod : public IndexAccessMethod { - AbstractIndexAccessMethod(const AbstractIndexAccessMethod&) = delete; - AbstractIndexAccessMethod& operator=(const AbstractIndexAccessMethod&) = delete; +class SortedDataIndexAccessMethod : public IndexAccessMethod { + SortedDataIndexAccessMethod(const SortedDataIndexAccessMethod&) = delete; + SortedDataIndexAccessMethod& operator=(const SortedDataIndexAccessMethod&) = delete; public: /** @@ -492,8 +492,8 @@ public: static std::pair<KeyStringSet, KeyStringSet> setDifference(const KeyStringSet& left, const KeyStringSet& right); - AbstractIndexAccessMethod(const IndexCatalogEntry* btreeState, - std::unique_ptr<SortedDataInterface> btree); + SortedDataIndexAccessMethod(const IndexCatalogEntry* btreeState, + std::unique_ptr<SortedDataInterface> btree); Status insert(OperationContext* opCtx, SharedBufferFragmentBuilder& pooledBufferBuilder, |