summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/sorted_data_interface.h
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2019-08-08 10:55:52 -0400
committerGregory Noma <gregory.noma@gmail.com>2019-08-08 10:55:52 -0400
commit75d6c5116dd1aefa6c6daebd2cab0d47498db706 (patch)
treec73225c0086d76612448cd947c9ccbc88c941150 /src/mongo/db/storage/sorted_data_interface.h
parent8457da2f81b5378fa7485a151cb2255700a6c31a (diff)
downloadmongo-75d6c5116dd1aefa6c6daebd2cab0d47498db706.tar.gz
SERVER-41721 Make IndexAccessMethod::getKeys output a KeyString set
Diffstat (limited to 'src/mongo/db/storage/sorted_data_interface.h')
-rw-r--r--src/mongo/db/storage/sorted_data_interface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/storage/sorted_data_interface.h b/src/mongo/db/storage/sorted_data_interface.h
index d2c3608a073..1f0408d688a 100644
--- a/src/mongo/db/storage/sorted_data_interface.h
+++ b/src/mongo/db/storage/sorted_data_interface.h
@@ -107,7 +107,7 @@ public:
* at a RecordId other than 'loc' and duplicates were not allowed
*/
virtual Status insert(OperationContext* opCtx,
- const KeyString::Builder& keyString,
+ const KeyString::Value& keyString,
const RecordId& loc,
bool dupsAllowed) = 0;
@@ -131,7 +131,7 @@ public:
* otherwise
*/
virtual void unindex(OperationContext* opCtx,
- const KeyString::Builder& keyString,
+ const KeyString::Value& keyString,
const RecordId& loc,
bool dupsAllowed) = 0;
@@ -421,7 +421,7 @@ public:
* this is violated an error Status (ErrorCodes::InternalError) will be returned.
*/
virtual Status addKey(const BSONObj& key, const RecordId& loc) = 0;
- virtual Status addKey(const KeyString::Builder& keyString, const RecordId& loc) = 0;
+ virtual Status addKey(const KeyString::Value& keyString, const RecordId& loc) = 0;
/**
* Do any necessary work to finish building the tree.