diff options
author | Geir Storli <geirst@oath.com> | 2017-11-21 14:52:40 +0000 |
---|---|---|
committer | Geir Storli <geirst@oath.com> | 2017-11-22 12:09:09 +0000 |
commit | d84187c71f24fcb7a6b504b13dff5c18c9ebd644 (patch) | |
tree | 0f87983af697418258aefc8c9f411cf39806a615 /documentapi | |
parent | b4f4418cee4f6fca48c1148cab8dac65ca74d8d9 (diff) |
Add named bucket space to RemoveLocationMessage.
Diffstat (limited to 'documentapi')
-rw-r--r-- | documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.cpp | 4 | ||||
-rw-r--r-- | documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.cpp b/documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.cpp index 7977f13902c..a8ecef79fae 100644 --- a/documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.cpp +++ b/documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.cpp @@ -12,7 +12,9 @@ RemoveLocationMessage::RemoveLocationMessage( const document::BucketIdFactory& factory, document::select::Parser& parser, const string& documentSelection) - : _documentSelection(documentSelection) + : _documentSelection(documentSelection), + _bucketId(), + _bucketSpace() { document::BucketSelector bucketSel(factory); std::unique_ptr<document::BucketSelector::BucketVector> exprResult( diff --git a/documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.h b/documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.h index a08a553b829..f58f115a8ec 100644 --- a/documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.h +++ b/documentapi/src/vespa/documentapi/messagebus/messages/removelocationmessage.h @@ -20,6 +20,8 @@ public: const string& getDocumentSelection() const { return _documentSelection; } const document::BucketId& getBucketId() const { return _bucketId; }; + const string &getBucketSpace() const { return _bucketSpace; } + void setBucketSpace(const string &value) { _bucketSpace = value; } uint32_t getType() const override; string toString() const override { return "removelocationmessage"; } protected: @@ -28,6 +30,7 @@ protected: private: string _documentSelection; document::BucketId _bucketId; + string _bucketSpace; }; } |