MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / ExtOperatorUpdate

Class ExtOperatorUpdate

src/ExtMsg.actor.cpp:1343–1353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1341/* FIXME: These don't really belong here*/
1342
1343struct ExtOperatorUpdate : ConcreteUpdateOp<ExtOperatorUpdate> {
1344 bson::BSONObj msgUpdate;
1345
1346 explicit ExtOperatorUpdate(bson::BSONObj const& msgUpdate) : msgUpdate(msgUpdate) {}
1347
1348 Future<Void> update(Reference<IReadWriteContext> document) override {
1349 return updateDocument(document, msgUpdate, false, document->getKeyEncodedId());
1350 }
1351
1352 std::string describe() override { return "OperatorUpdate(" + msgUpdate.toString() + ")"; }
1353};
1354
1355struct ExtReplaceUpdate : ConcreteUpdateOp<ExtReplaceUpdate> {
1356 bson::BSONObj replaceWith;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected