diff options
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; }; } |